Parcourir la source

Merge pull request #2459 from saurabh6790/tree_click_fix

[fix] anchor click fix for tree
version-14
Nabin Hait il y a 8 ans
committed by GitHub
Parent
révision
b32c1806c3
1 fichiers modifiés avec 1 ajouts et 1 suppressions
  1. +1
    -1
      frappe/public/js/frappe/ui/tree.js

+ 1
- 1
frappe/public/js/frappe/ui/tree.js Voir le fichier

@@ -84,7 +84,7 @@ frappe.ui.TreeNode = Class.extend({
$(icon_html + ' <a class="tree-label grey h6">' + this.get_label() + "</a>"). $(icon_html + ' <a class="tree-label grey h6">' + this.get_label() + "</a>").
appendTo(this.$a); appendTo(this.$a);


this.$a.find('i').click(function() {
this.$a.find('i, a').click(function() {
setTimeout(function() { me.toolbar.find(".btn-expand").click(); }, 100); setTimeout(function() { me.toolbar.find(".btn-expand").click(); }, 100);
}); });
}, },


Chargement…
Annuler
Enregistrer