upgrade from 3.2.2 to 3.2.8 breaks jquery-tooltip - ruby-on-rails-3

I just upgraded my app from 3.2.2 to 3.2.8.
I use jquery-tooltip.
Once I upgraded, the tooltip changed behavior. Prior to the upgrade, the tooltip would popup positioned relative the element that contains a title, invoked like:
$("[title]").tooltip();
After the upgrade, the tooltip is now different. I never looked at the generated HTML when it WAS working correctly, but now, when I call tooltip on a titled element, it creates a DIV for the tooltip at the end of my HTML, so the tooltip appears at the bottom of my page.
I noticed that jquery-ui just got upgraded to 2.0.0, so I'm assuming that when I do this in my app/assets/javascripts/application.js:
//= require jquery-ui
//= require jquery-tooltip.min
I'm now grabbing the newer version, which is no longer compatible with jquery-tooltip.
Anybody know for sure?
Any quick fix?
I'm not married to jquery-tooltip, anybody have a proven jquery tooltip approach for rails 3.2.8? (jquery-ui tooltip due in upcoming 1.9 release?)

SOLVED
I had copies of the jquery.ui javascript files in app/assets/javascripts
They should of been removed as soon as I added:
//= require jquery_ui
to my app/assets/javascripts/application.js manifest.
When I upgraded to 2.3.8 it introduced dependencies on jquery-ui later than the version I had copied long ago.
Simply removing them fixed my problem

Related

IE11 onClick event is not working for dojo components

We developed our application using Dojo in IE8 now we are moving it to IE11.When we run the application, Click event is triggered only for button and check box.When i click on the text box, it does not focuses or any other components.
Any suggestion/help why is it behaving like this.
In the comments you said you're using Dojo 1.9.1. However, when I read the blogpost about Dojo 1.9.2, I see:
Dojo version 1.9.2 is now available for immediate use. The most
prominent changes are:
Support for IE11
Support for W3C Pointer Events API in touch-enabled components (necessary for IE11 support)
Fixes for modern Firefox and Chrome
Fixes to star-mapping and aliases when using built layers
Fixes to sorting Date objects in dojo/store/Memory and other stores that use SimpleQueryEngine
Fixes to Dijit pop-up scrolling when using the scrollbar
Reference: Dojo 1.9.2 and more
Try to run your application with Dojo 1.9.2 first. Since you're already using Dojo 1.9.1, the switch to 1.9.2 should not be too hard I suppose, because it's a patch version.

Overriding Dojo version for a particular Xpages database

Apple's iOS 8 breaks certain tap functionality in versions of dojo prior to 1.9.4 (see Xpages mobile controls not working in iOS8
The current version of Dojo in Domino 9.0.1 FP2 is 1.9.2 but that does not fix the issue. You have to use at least 1.9.4.
I have downloaded 1.9.4 and placed it in the correct folder on our test server. But I cannot get things to work. I changed the folder name of dojo 1.9.4 to 1.4.0 as I only want to use this version for 2 dbs that are having the problem.
Question 1:
What line do I put in the xsp.properties file:
xsp.client.script.dojo.version = 1.4.0
xsp.client.script.dojo.path = / domjs / dojo-1.4.0
Question 2:
There are so many things to download when I go to the dojo download page. I downloaded the zip file and used that.
When I run code to test what version of dojo I have I get 1.9.4. But when I try to load my page, I get an error.
dojo._loaders: TypeError: dojo._loaders is undefined
Any help would be GREATLY appreciated.
You probably have the right dojo zip, this one: http://download.dojotoolkit.org/release-1.9.4/dojo-release-1.9.4.zip. As you say, unzip that to the dojo-1.9.4 folder in <server-install>\data\domino\js\, or name the folder 1.4.0 if you want to specify it for only a few apps.
You will indeed need to copy the IBM folder from the <server-install>\osgi\shared\eclipse\plugins\com.ibm.xsp.dojo_9.0.1.<date-stamp>\xsp.dojo.jar into your new 1.9.4 (or 1.4.0) dojo folder. Little chance of anything working without it. Copying the ibm folder from the 1.5.2 folder is a bad idea as that is old code, and you'd certainly have issues with it working with dojo 1.9.4. In Fix Pack 2, the ibm folder from the plugin was tested/designed to work with dojo 1.9.2 (the version in that jar), so it should play fairly nice with 1.9.4.
In your XPages app, in the xsp.properties, you should only need the line:
xsp.client.script.dojo.version = 1.9.4
Rebuild your app, restart the server etc, and you should be good to go.
DISCLAIMER: This is a work-around, not a supported solution by IBM. There may be unexpected issues using this approach. It's used at your own risk.
You commented already on that topic here so I think you tried this one? http://hasselba.ch/blog/?p=323
This is the SO thread: XPages mobile controls not working with iOS 8

Site redesign in sitefinity 3.7

I need to redesign web site that has been done in Sitefinity 3.7. Current version is 6.3 ( I believe ).
I watched some tutorials about this CMS because I use it for the first time.
Can you tell me how much templating system differs in this old 3.7 version from current 6.3?
Is it possible to use Bootstrap 3?
We've been using Bootstrap in all of our recent Sitefinity implementations. I usually end up creating a vanilla, base page template off a .master page that includes references to the Bootstrap css and js, then create custom layout controls through Sitefinity's Visual Studio plugin, Thunder. Using the layouts you can easily create the markup needed for the grid layouts and components in Bootstrap so content editors can drag and drop them through the Sitefinity page edit interface. Editing the widget templates is another way to incorporate Bootstrap styling in the built in content modules.
Here is a project that has a Sitefinity Bootstrap theme, I believe the version of Bootstrap it uses is 2.31 though.
Update!
Jochem added Bootstrap version 3+ to the project, my fault for not seeing it, sorry Jochem! Direct link here

Migrating from Bootstrap v3.0.1 to Bootstrap v3.1.1

I developed the project in Bootstrap v3.0.1. Now some bugs were fixed and released the version Bootstrap v3.1.1. is there any guide to Migrating from Bootstrap v3.0.1 to Bootstrap v3.1.1.
I just backed up first, then copied the new files over the top of the old ones.
I had no problems.
The main point is BACKUP before you start.
Keith
Bootstrap follows Semantic Versioning, so v3.1.1 is backward-compatible with v3.0.1, except for one exceptional change regarding how the remote option of modals works, which happened in v3.1.0 (see the "Remote modal content" section of http://blog.getbootstrap.com/2014/01/30/bootstrap-3-1-0-released/ for details).
You can also read each of the relevant release blog posts (which have the changelogs) if you're really paranoid: http://blog.getbootstrap.com/

How do I check whether I have jquery-ui running in my rails app?

This might sound like a very stupid question(and maybe it is) but I have reason to believe jquery-ui is not running properly on my rails app even though my understanding was that it was installed by the previous developer. Is there a quick way to check that it is properly installed?
If you are using Chrome, (or Firefox with firebug), you can open up your console (ctrl-shift-i) and click on your resources tab. You should find it there under one of the scripts folder 'jquery-ui.js'
Alternatively, you can ask if one of the methods defined in jquery-ui is undefined, such as
typeof $.removeUniqueId == 'undefined'