mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-05-01 00:02:21 +09:00
Remove most references to x.js in core modules
This commit is contained in:
parent
0fde7eb7e7
commit
f3d753c6d0
6 changed files with 36 additions and 35 deletions
|
|
@ -305,7 +305,7 @@ class BoardAdminView extends Board {
|
|||
* @brief board module message
|
||||
**/
|
||||
function alertMessage($message) {
|
||||
$script = sprintf('<script> xAddEventListener(window,"load", function() { alert("%s"); } );</script>', lang($message));
|
||||
Context::addHtmlHeader( $script );
|
||||
$script = sprintf('<script> window.addEventListener("load", function() { alert(%s); }); </script>', json_encode(strval(lang($message))));
|
||||
Context::addHtmlHeader($script);
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue