LSobject / customAction : Added noConfirmation parameter
[ldapsaisie.git] / public_html / includes / js / LSview.js
index 2b850a3..bb7eb7e 100644 (file)
@@ -101,6 +101,9 @@ var LSview = new Class({
     },
 
     onCustomActionBtnClick: function(event,a) {
+      if (a.hasClass('LScustomActions_noConfirmation')) {
+        return true;
+      }
       Event(event).stop();
       if (!this._confirmBoxOpen) {
         this._confirmBoxOpen = 1;