Projekt

Allgemein

Profil

« Zurück | Weiter » 

Revision 001c83b1

Von Moritz Bunkus vor mehr als 11 Jahren hinzugefügt

  • ID 001c83b188e6a6394761c217d28984553f351c00
  • Vorgänger b9740e8a
  • Nachfolger 3dc3b056

ClientJS: Unterstützung für jstree.create_node

Unterschiede anzeigen:

js/client_js.js
94 94
      else if (action[0] == 'jstree:reopen')        $.jstree._reference($(action[1])).reopen();
95 95

  
96 96
      // Modifying nodes
97
      else if (action[0] == 'jstree:create_node')   $.jstree._reference($(action[1])).create_node(action[2], action[3], action[4]);
97 98
      else if (action[0] == 'jstree:rename_node')   $.jstree._reference($(action[1])).rename_node(action[2], action[3]);
98 99
      else if (action[0] == 'jstree:delete_node')   $.jstree._reference($(action[1])).delete_node(action[2]);
99 100
      else if (action[0] == 'jstree:move_node')     $.jstree._reference($(action[1])).move_node(action[2], action[3], action[4], action[5]);

Auch abrufbar als: Unified diff