Revision cbcf100f
Von Sven Schöling vor fast 10 Jahren hinzugefügt
SL/ClientJS.pm | ||
---|---|---|
75 | 75 |
|
76 | 76 |
# ## jQuery UI dialog plugin ## pattern: $(<TARGET>).dialog('<FUNCTION>') |
77 | 77 |
|
78 |
# Closing and removing the popup |
|
78 |
# Opening and closing and closing a popup |
|
79 |
'dialog:open' => 1, # kivi.popup_dialog(<TARGET>) |
|
79 | 80 |
'dialog:close' => 1, |
80 | 81 |
|
81 | 82 |
# ## jQuery Form plugin ## |
js/client_js.js | ||
---|---|---|
89 | 89 |
|
90 | 90 |
// ## jQuery UI dialog plugin ## |
91 | 91 |
|
92 |
// Closing and removing the popup |
|
92 |
// Opening and closing and closing a popup |
|
93 |
else if (action[0] == 'dialog:open') kivi.popup_dialog(action[1]); |
|
93 | 94 |
else if (action[0] == 'dialog:close') $(action[1]).dialog('close'); |
94 | 95 |
|
95 | 96 |
// ## jQuery Form plugin ## |
Auch abrufbar als: Unified diff
ClientJS: dialog aufmachen