简体   繁体   English

Boostside for Seaside(在Pharo上):不正确的JQuery版本

[英]Boostrap for Seaside (on Pharo): incorrect JQuery version

When developing a web app on Pharo 7.0 using Seaside and Bootstrap for Seaside, the resulting web page is not responding to mouse clicks. 当使用Seaside和Bootstrap for Seaside在Pharo 7.0上开发Web应用程序时,结果网页对鼠标单击没有响应。

I'm using Pharo 7.0 32bit on Windows , Seaside and Bootstrap for Seaside , where Seaside and Bootstrap for Seaside were loaded with Catalog Browser. 在WindowsSeasideBootstrap for Seaside 使用Pharo 7.0 32bit ,其中Seaside和Bootstrap for Seaside加载了Catalog Browser。 The resulting web pages are not responding to mouse clicks, for instance dropdowns are not opening as shown on the Seaside-Bootstrap public demo page (as above). 生成的网页没有响应鼠标单击,例如下拉菜单没有打开,如Seaside-Bootstrap公共演示页面(如上所述)所示。 Consistently, the demo page on my instance (localhost:8080/bootstrap) is also behaving the same. 一致地,我实例上的演示页面(localhost:8080 / bootstrap)也具有相同的行为。

Each of the browsers that I tried (Chrome, Firefox, Edge) shows the same symptoms, and they are all reporting 我尝试过的每种浏览器(Chrome,Firefox,Edge)都显示相同的症状,并且都在报告

"Bootstrap's JavaScript requires jQuery version 1.9.1 or higher, but lower than version 3" “ Bootstrap的JavaScript需要jQuery 1.9.1或更高版本,但低于版本3”

in the console. 在控制台中。 However, $.fn.jquery is returning "3.3.1". 但是,$。fn.jquery返回“ 3.3.1”。

Is there anything I can do by myself? 我自己能做些什么吗? For instance, this thread suggests that an upgrade to Bootstrap 3.3.7 resolves this problem. 例如,此线程建议升级到Bootstrap 3.3.7可以解决此问题。 Namely,

TBSDeploymentLibrary>>jsbootstrapminJsContent 

method returns Bootstrap version v3.3.6, as I belive. 我相信,该方法返回的是Bootstrap版本v3.3.6。 However, I'm not sure whether it's save to just copy & paste the bootstrap.min.css into the method. 但是,我不确定只是将bootstrap.min.css复制并粘贴到该方法中是否保存。 And what is the difference between TBS Deployment Library and TBS Development Library. TBS 部署库和TBS 开发库之间有什么区别。

现在已解决问题 ,该库中的Bootstrap版本已更改为3.3.7。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM