Custom callbacks allowed#18
Custom callbacks allowed#18indrimuska wants to merge 2 commits intoarschmitz:masterfrom indrimuska:second
Conversation
Perform a customization of callbacks onSelect / onChangeMonthYear / beforeShow without loosing mobile style.
jquery.mobile.datepicker.js
Outdated
There was a problem hiding this comment.
you are assigning a global variable in an if statement here i think what you want is to just do if( that.options[ "_" + val ]) { then below do that.options[ "_" + val ].apply( null, args );
|
Yes, it's the same.
My goal is to rename user callback, i.e. |
|
@indrimuska yes what your trying to do is correct but you are creating a global variable because you are not using |
|
Thank you @arschmitz, I've followed your advice. |
|
@indrimuska can you make a seperate pr for fixing the height of the days? |
|
Ok, I'll do it asap. |
Perform customization of callbacks onSelect / onChangeMonthYear / beforeShow without loosing mobile style.
Demo: http://jsbin.com/indrimuska/42/edit.