openrat-cms

Unnamed repository; edit this file 'description' to name the repository.
Log | Files | Refs

commit 48b44c4c4631bc6112a6c963c09e946a555a63f7
parent 7c6b975a673feefd00add35b6d9dded15aee2a95
Author: Jan Dankert <devnull@localhost>
Date:   Tue, 10 Jul 2018 23:02:01 +0200

Die .clickable-Elemente sollen nur 1x als Link registriert werden.

Diffstat:
modules/template-engine/components/html/tree/tree.js | 4+---
modules/template-engine/components/html/tree/tree.min.js | 11++---------
2 files changed, 3 insertions(+), 12 deletions(-)

diff --git a/modules/template-engine/components/html/tree/tree.js b/modules/template-engine/components/html/tree/tree.js @@ -2,7 +2,5 @@ $(document).on('orViewLoaded',function(event, data) { // Clickable. - $(event.target).find('div.entry.clickable').click(function () { - openNewAction($(this).data('name'), $(this).data('action'), $(this).data('id'), 0); - }) + // done by link.js }); \ No newline at end of file diff --git a/modules/template-engine/components/html/tree/tree.min.js b/modules/template-engine/components/html/tree/tree.min.js @@ -1,8 +1 @@ -// View loaded... -$(document).on('orViewLoaded',function(event, data) { - - // Clickable. - $(event.target).find('div.entry.clickable').click(function () { - openNewAction($(this).data('name'), $(this).data('action'), $(this).data('id'), 0); - }) -});- \ No newline at end of file +;$(document).on('orViewLoaded',function(o,n){});+ \ No newline at end of file