X-Git-Url: http://wagnertech.de/gitweb/gitweb.cgi/mfinanz.git/blobdiff_plain/a82f3befb2c673b0d1af747033a284ef2434c061..766f5705ecb9cd56adfbffd94c871959bb64c6fd:/SL/ClientJS.pm diff --git a/SL/ClientJS.pm b/SL/ClientJS.pm index ff4aeb8e2..fcc2c146c 100644 --- a/SL/ClientJS.pm +++ b/SL/ClientJS.pm @@ -65,7 +65,7 @@ my %supported_methods = ( removeData => 2, # Form Events - focus => 1, + focus => 1, # kivi.set_focus() # Generic Event Handling ## pattern: $().(, kivi.get_function_by_name()) on => 3, @@ -106,6 +106,9 @@ my %supported_methods = ( 'jstree:deselect_node' => 2, 'jstree:deselect_all' => 1, + # ## ckeditor stuff ## + 'focus_ckeditor' => 1, # kivi.focus_ckeditor_when_ready() + # ## other stuff ## redirect_to => 1, # window.location.href = @@ -201,6 +204,12 @@ sub dialog { return $self; } +sub ckeditor { + my ($self) = @_; + $self->{_prefix} = 'ckeditor:'; + return $self; +} + sub flash { my ($self, $type, @messages) = @_;