• R/O
  • HTTP
  • SSH
  • HTTPS

Commit

Tags
Keine Tags

Frequently used words (click to add to your profile)

javac++androidlinuxc#windowsobjective-ccocoa誰得qtpythonphprubygameguibathyscaphec計画中(planning stage)翻訳omegatframeworktwitterdomtestvb.netdirectxゲームエンジンbtronarduinopreviewer

XOOPS Cube Legacy base repository


Commit MetaInfo

Revision9806ad65931297e5751d268dc5f433974a0436d9 (tree)
Zeit2012-08-16 19:00:42
AutorHIKAWA Kilica <kilica.hikawa@gmai...>
CommiterHIKAWA Kilica

Log Message

Merge pull request #23 from nao-pon/admin_theme_patch

legacy: admin theme onload func switch to onready

Ändern Zusammenfassung

Diff

--- a/html/modules/legacy/admin/theme/admin_theme.html
+++ b/html/modules/legacy/admin/theme/admin_theme.html
@@ -143,8 +143,23 @@ function ccOpenCid()
143143 // ]]> -->
144144 </script>
145145 <{$xoops_module_header}>
146+<script type="text/javascript">
147+<!-- <![CDATA[
148+if (typeof jQuery != 'undefined') {
149+ jQuery(function($){
150+ ccToggle(cid);
151+ onloadEffect('leftcolumn', 'minimizelc', 'lcimage');
152+ });
153+} else {
154+ document.body.onload = function(){
155+ ccToggle(cid);
156+ onloadEffect('leftcolumn', 'minimizelc', 'lcimage');
157+ }
158+}
159+// ]]> -->
160+</script>
146161 </head>
147-<body onload="ccToggle(cid);onloadEffect('leftcolumn', 'minimizelc', 'lcimage');">
162+<body>
148163
149164
150165 <div id="container">