Revision 4cde51b9
Von Moritz Bunkus vor fast 8 Jahren hinzugefügt
js/kivi.js | ||
---|---|---|
305 | 305 |
$form.submit(); |
306 | 306 |
}; |
307 | 307 |
|
308 |
// This function exists solely so that it can be found with |
|
309 |
// kivi.get_functions_by_name() and called later on. Using something |
|
310 |
// like "var func = history["back"]" works, but calling it later |
|
311 |
// with "func.apply()" doesn't. |
|
312 |
ns.history_back = function() { |
|
313 |
history.back(); |
|
314 |
}; |
|
315 |
|
|
308 | 316 |
// Return a function object by its name (a string). Works both with |
309 | 317 |
// global functions (e.g. "check_right_date_format") and those in |
310 | 318 |
// namespaces (e.g. "kivi.t8"). |
Auch abrufbar als: Unified diff
kivi.history_back: wie history.back() aber über kivi.get_function_by_name auffindbar