summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorScott Ullrich <sullrich@pfsense.org>2008-08-31 01:40:57 +0000
committerScott Ullrich <sullrich@pfsense.org>2008-08-31 01:40:57 +0000
commite6c4670d0b87ffec2a4e21f02ebf6937d1660b3e (patch)
treef585954ec2524db19f567f43e2eb84f0b1773978
parent39fb9874215152847f3e760625866716c03561da (diff)
downloadpfsense-e6c4670d0b87ffec2a4e21f02ebf6937d1660b3e.zip
pfsense-e6c4670d0b87ffec2a4e21f02ebf6937d1660b3e.tar.gz
Reverse fade order
-rwxr-xr-xusr/local/www/edit.php2
-rw-r--r--usr/local/www/filebrowser/browser.js4
2 files changed, 4 insertions, 2 deletions
diff --git a/usr/local/www/edit.php b/usr/local/www/edit.php
index 03e7688..a0ea694 100755
--- a/usr/local/www/edit.php
+++ b/usr/local/www/edit.php
@@ -115,9 +115,9 @@ outputJavaScriptFileInline("filebrowser/browser.js");
}
}
else {
+ new Effect.Appear("fileContent");
$("fileStatus").innerHTML = values[0];
$("fileContent").value = "";
- new Effect.Appear("fileContent");
}
}
diff --git a/usr/local/www/filebrowser/browser.js b/usr/local/www/filebrowser/browser.js
index ab5912f..751b89e 100644
--- a/usr/local/www/filebrowser/browser.js
+++ b/usr/local/www/filebrowser/browser.js
@@ -12,6 +12,8 @@ Event.observe(
);
function fbBrowse(path) {
+ new Effect.Fade("fileContent");
+
if($("fbCurrentDir"))
$("fbCurrentDir").innerHTML = "Loading ...";
@@ -19,7 +21,7 @@ function fbBrowse(path) {
"/filebrowser/browser.php?path=" + encodeURI(path ? path : "/"),
{ method: "get", onComplete: fbComplete }
);
- new Effect.Fade("fileContent");
+
}
function fbComplete(req) {
OpenPOWER on IntegriCloud