diff options
| author | Bharat Mediratta <bharat@menalto.com> | 2009-07-07 21:20:37 -0700 |
|---|---|---|
| committer | Bharat Mediratta <bharat@menalto.com> | 2009-07-07 21:20:37 -0700 |
| commit | 74d4a4c0fd0d1aa2e93e62397b0b0a10d55b986d (patch) | |
| tree | 70d5a48fc8bfcf0a7db0ceb94d284d6df38c92f0 /modules/gallery/views/kohana_error_page.php | |
| parent | faabae5dae712ebff656abe8ebc493d8e031d4a3 (diff) | |
| parent | 6ac5238b83d58824eb9327406a2ee50b7e603214 (diff) | |
Merge branch 'master' of git@github.com:/gallery/gallery3
Diffstat (limited to 'modules/gallery/views/kohana_error_page.php')
| -rw-r--r-- | modules/gallery/views/kohana_error_page.php | 10 |
1 files changed, 7 insertions, 3 deletions
diff --git a/modules/gallery/views/kohana_error_page.php b/modules/gallery/views/kohana_error_page.php index 6bf48549..9361514d 100644 --- a/modules/gallery/views/kohana_error_page.php +++ b/modules/gallery/views/kohana_error_page.php @@ -53,7 +53,6 @@ margin: 0px; } </style> - <script src="<?= url::file("lib/jquery.js") ?>" type="text/javascript"></script> <meta http-equiv="Content-Type" content="text/html; charset=utf-8"/> <title><?= t("Something went wrong!") ?></title> </head> @@ -78,8 +77,13 @@ <h2> <?= t("Hey wait, you're an admin! We can tell you stuff.") ?> </h2> - <a id="toggle" href="" - onclick="javascript:$('#stuff').slideDown('slow'); $('#toggle').slideUp(); return false"> + <script type="text/javascript"> + var show_details = function() { + document.getElementById("stuff").style.display = "block"; + document.getElementById("toggle").style.display = "none"; + } + </script> + <a id="toggle" href="#" onclick="javascript:show_details(); return false;"> <b><?= t("Ok.. tell me stuff!") ?></b> </a> <div id="stuff" style="display: none"> |
