From 954b610a51f136b84649decfd7f21a6f8626349a Mon Sep 17 00:00:00 2001 From: Benjamin Renard Date: Fri, 20 May 2011 18:42:21 +0200 Subject: [PATCH] LSview : Fixed customAction confirm by JS --- public_html/includes/js/LSview.js | 3 +++ 1 file changed, 3 insertions(+) diff --git a/public_html/includes/js/LSview.js b/public_html/includes/js/LSview.js index 666e7462..2b850a3b 100644 --- a/public_html/includes/js/LSview.js +++ b/public_html/includes/js/LSview.js @@ -29,6 +29,9 @@ var LSview = new Class({ if (checkRemove.exec(el.href)) { el.addEvent('click',this.onRemoveViewBtnClick.bindWithEvent(this,el)); } + else if(el.hasClass('LScustomActions')) { + el.addEvent('click',this.onCustomActionBtnClick.bindWithEvent(this,el)); + } }, this); this.LSsearchForm = $('LSsearch_form');