Changes between Version 1 and Version 2 of Ticket #13523, comment 1


Ignore:
Timestamp:
Jul 27, 2011, 12:56:16 PM (8 years ago)
Author:
PEM
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #13523, comment 1

    v1 v2  
    1 You can find an example here : http://dojo-sandbox.net/public/2f035/1
     1You can find an example here : http://dojo-sandbox.net/public/2f035/2
    22It's up to the user to notify the user why the X button does not close the dialog.
    3 The user could use a simple alert like :
     3The user could use a simple alert like in the overriden onBeforeHide function :
    44
    55{{{
    6   dojo.connect(theDialog, "onBeforeHide", this, function(returnValue){
    7     if(!returnValue) alert("you should tick the checkbox before closing the dialog !");
    8   });
     6    alert("you should tick the checkbox before closing the dialog !");
    97}}}
    108
    11 Or select a tab where an input field is in error state, or use a tooltip, etc.
     9Or select a tab where an input field is in error state, use a tooltip, call a callBack function, etc.