Issues with jQuery UI 1.8.2 and Dialog Options not executing 'open' when 'show' also specified
I am passing-in some dialog options to my dialog
var dialogOpts = {
"autoOpen" : false,
"draggable" : true,
"modal" : true,
"resizable" : false,
"title" : "Change Password",
open : function() {
if($(changePasswordForm.oldpassword).css("display") == "none") {
$(changePasswordForm.newpassword).focus();
}
else {
$(changePasswordForm.oldpassword).focus();
}
}
}
If I also specify a "show" : "slide" in the options, the 'open' function will not execute. Is there a specific way that we are to fire the 'open' function() when an anmiation effect is also specified?