From 19f55e73d8d01b80def5ea934a8a02e1259c46f2 Mon Sep 17 00:00:00 2001 From: Hadi Nategh Date: Tue, 7 Apr 2015 16:01:34 +0000 Subject: [PATCH] Fix touch on filemanager heirarchical folder open arrow does not open the sub folder, using touch devices --- etemplate/js/et2_dataview_view_row.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/etemplate/js/et2_dataview_view_row.js b/etemplate/js/et2_dataview_view_row.js index 0f589c971e..8fa501dad9 100644 --- a/etemplate/js/et2_dataview_view_row.js +++ b/etemplate/js/et2_dataview_view_row.js @@ -73,8 +73,9 @@ var et2_dataview_row = et2_dataview_container.extend(et2_dataview_IViewRange, // Update context var self = this; - this.expansionButton.off("click").on("click", function () { + this.expansionButton.off("click").on("click", function (e) { self._handleExpansionButtonClick(_callback, _context); + e.stopImmediatePropagation(); }); $j("td:first", this.tr).prepend(this.expansionButton);