Ignore:
Timestamp:
Oct 12, 2012, 8:27:30 AM (12 years ago)
Author:
chronos
Message:
  • Přidáno: Možnost mazat položky.
  • Přidáno: Přidávání a změna hodnot položek.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/style/simple/global.js

    r251 r433  
    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.