[FIX] Fix multiple clicks on datetime picker icon causes picker to stay overlay forever.
Fixed datetimepicker addon not forwarding 'widget' option to original datepicker bzr revid: fme@openerp.com-20120515132234-s1axk1b3a1211yh1
This commit is contained in:
+1
-1
@@ -913,7 +913,7 @@ $.fn.extend({
|
||||
tmp_args = arguments;
|
||||
|
||||
if (typeof(o) == 'string'){
|
||||
if(o == 'getDate')
|
||||
if(o == 'getDate' || o == 'widget')
|
||||
return $.fn.datepicker.apply($(this[0]), tmp_args);
|
||||
else
|
||||
return this.each(function() {
|
||||
|
||||
Reference in New Issue
Block a user