Revision 551d4b78
Von Moritz Bunkus vor mehr als 10 Jahren hinzugefügt
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
kivi.js: ckeditor über Klasse »texteditor« nutzen können