From cf657413c714e90bdb18a919e2744ff137bba574 Mon Sep 17 00:00:00 2001 From: Hadi Nategh Date: Tue, 7 Apr 2015 16:01:55 +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);