Projekt

Allgemein

Profil

« Zurück | Weiter » 

Revision 551d4b78

Von Moritz Bunkus vor mehr als 10 Jahren hinzugefügt

  • ID 551d4b787115605d6b12ef199ea52ac6a5a2ad0c
  • Vorgänger cb31afcf
  • Nachfolger ecfae06f

kivi.js: ckeditor über Klasse »texteditor« nutzen können

Unterschiede anzeigen:

js/client_js.js
80 80
      else if (action[0] == 'removeData')           $(action[1]).removeData(action[2]);
81 81

  
82 82
      // Form Events
83
      else if (action[0] == 'focus')                $(action[1]).focus();
83
      else if (action[0] == 'focus')                kivi.set_focus(action[1]);
84 84

  
85 85
      // Generic Event Handling ##
86 86
      else if (action[0] == 'on')                   $(action[1]).on(action[2], kivi.get_function_by_name(action[3]));
......
121 121
      else if (action[0] == 'jstree:deselect_node') $.jstree._reference($(action[1])).deselect_node(action[2]);
122 122
      else if (action[0] == 'jstree:deselect_all')  $.jstree._reference($(action[1])).deselect_all();
123 123

  
124
      // ## ckeditor stuff ##
125
      else if (action[0] == 'focus_ckeditor')       kivi.focus_ckeditor_when_ready(action[1]);
126

  
124 127
      // ## other stuff ##
125 128
      else if (action[0] == 'redirect_to')          window.location.href = action[1];
126 129
      else if (action[0] == 'flash')                kivi.display_flash(action[1], action[2]);

Auch abrufbar als: Unified diff