Revision 466e67ff
Von Kivitendo Admin vor mehr als 7 Jahren hinzugefügt
SL/ClientJS.pm | ||
---|---|---|
75 | 75 |
|
76 | 76 |
# ## jQuery UI dialog plugin ## pattern: $(<TARGET>).dialog('<FUNCTION>') |
77 | 77 |
|
78 |
# Opening and closing and closing a popup
|
|
78 |
# Opening and closing a popup |
|
79 | 79 |
'dialog:open' => 1, # kivi.popup_dialog(<TARGET>) |
80 | 80 |
'dialog:close' => 1, |
81 | 81 |
|
... | ... | |
352 | 352 |
the server side. That code is then evaluated in a safe way on the |
353 | 353 |
client side. |
354 | 354 |
|
355 |
The workflow is usally that the client creates an AJAX request, the |
|
355 |
The workflow is usually that the client creates an AJAX request, the
|
|
356 | 356 |
server creates some actions and sends them back, and the client then |
357 | 357 |
implements each of these actions. |
358 | 358 |
|
... | ... | |
662 | 662 |
|
663 | 663 |
=head1 ADDING SUPPORT FOR ADDITIONAL FUNCTIONS |
664 | 664 |
|
665 |
In order not having to maintain two files (this one and
|
|
665 |
In order to not have to maintain two files (this one and
|
|
666 | 666 |
C<js/client_js.js>) there's a script that can parse this file's |
667 | 667 |
C<%supported_methods> definition and generate the file |
668 | 668 |
C<js/client_js.js> accordingly. The steps are: |
Auch abrufbar als: Unified diff
SL/ClientJS.pm - Typos in POD