Changeset 24 for global.js


Ignore:
Timestamp:
Oct 27, 2008, 5:10:59 PM (16 years ago)
Author:
george
Message:
  • Upraveno: Odkazy na seznamy pomocí ItemId namísto jmen tabulek.
  • Přidáno: Potvrzovací dialog při mazání položek.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • global.js

    r8 r24  
    2424  }
    2525}
     26
     27function confirmAction(theMessage)
     28{
     29  // TODO: Confirmation is not required in the configuration file
     30  // or browser is Opera (crappy js implementation)
     31  if (typeof(window.opera) != 'undefined')
     32  {
     33    return true;
     34  }
     35
     36  var is_confirmed = confirm(theMessage);
     37
     38  return is_confirmed;
     39}
Note: See TracChangeset for help on using the changeset viewer.