yeelliott / jquery-utils

Automatically exported from code.google.com/p/jquery-utils
MIT License
0 stars 0 forks source link

jquery.timepickr.js does not work with packed version of JQuery UI #5

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Download Packed version of Jquery UI with all options selected
2. Test the timepickr
3.

What is the expected output? What do you see instead?
Does not work 

Please use labels and text to provide additional information.

Original issue reported on code.google.com by jefernan...@gmail.com on 22 Dec 2008 at 8:38

GoogleCodeExporter commented 9 years ago
It seems to only affect the latest release candidate. I did not test it against 
this
release yet. 

I don't know how I will fix this yet, I have no errors whatsoever..

Original comment by hainea...@gmail.com on 23 Dec 2008 at 12:48

GoogleCodeExporter commented 9 years ago
It turns out to be a pretty simple issue. jQuery UI 1.6 now use underscore (_) 
to
differentiate private/public methods. So `_init` is now the new constructor for 
widgets.

It's currently fixed in the trunk. You can build it from the trunk, just 
checkout the
source code and use python to build it:

{{{

$: svn co http://jquery-utils.googlecode.com/svn/trunk/ jquery-utils-read-only
$: cd jquery-utils-read-only/
$: ./build.py -m

}}}

the files you'll need are ine _standalone/ui-timepickr/dist/_.

Or for a quick fix edit the file jquery.timepickr.js and replace `init:` by  
`_init:`.

Original comment by hainea...@gmail.com on 23 Dec 2008 at 1:19

GoogleCodeExporter commented 9 years ago

Original comment by hainea...@gmail.com on 23 Dec 2008 at 1:41