diff options
author | RaNaN <Mast3rRaNaN@hotmail.de> | 2010-10-26 16:42:52 +0200 |
---|---|---|
committer | RaNaN <Mast3rRaNaN@hotmail.de> | 2010-10-26 16:42:52 +0200 |
commit | 9f1e50de4a446d6661fb6b89f058c8f2fd319e68 (patch) | |
tree | 7baf47b107fb8a9d145009319707afa1023255de /module/web | |
parent | process renice (diff) | |
download | pyload-9f1e50de4a446d6661fb6b89f058c8f2fd319e68.tar.xz |
Diffstat (limited to 'module/web')
-rw-r--r-- | module/web/media/default/css/window.css | 2 | ||||
-rw-r--r-- | module/web/templates/default/base.html | 1 | ||||
-rw-r--r-- | module/web/templates/default/window.html | 2 |
3 files changed, 3 insertions, 2 deletions
diff --git a/module/web/media/default/css/window.css b/module/web/media/default/css/window.css index dfe62a1f3..8b13ab798 100644 --- a/module/web/media/default/css/window.css +++ b/module/web/media/default/css/window.css @@ -7,7 +7,7 @@ left:50%;
top:150px;
margin-left: -350px;
- position: absolute;
+ position: fixed;
background: #FFF;
display:none;
}
diff --git a/module/web/templates/default/base.html b/module/web/templates/default/base.html index 43699d770..8cd44615d 100644 --- a/module/web/templates/default/base.html +++ b/module/web/templates/default/base.html @@ -128,6 +128,7 @@ function bg_hide(){ function show(){
bg_show();
+ $("add_form").reset();
$("add_box").setStyle('display', 'block');
add_box.start('opacity',1)
}
diff --git a/module/web/templates/default/window.html b/module/web/templates/default/window.html index 3ed79f876..3613c6df7 100644 --- a/module/web/templates/default/window.html +++ b/module/web/templates/default/window.html @@ -1,6 +1,6 @@ {% load i18n %}
<iframe id="upload_target" name="upload_target" src="" style="display: none; width:0;height:0"></iframe>
-<div id="add_bg" style="filter:alpha(opacity:80);KHTMLOpacity:0.80;MozOpacity:0.80;opacity:0.80; background:#000; width:100%; height: 100%; position:absolute; top:0px; left:0px; display:none;"> </div>
+<div id="add_bg" style="filter:alpha(opacity:80);KHTMLOpacity:0.80;MozOpacity:0.80;opacity:0.80; background:#000; width:100%; height: 100%; position:fixed; top:0; left:0; display:none;"> </div>
<!--<div id="add_box" style="left:50%; top:200px; margin-left: -450px; width: 900px; position: absolute; background: #FFF; padding: 10px 10px 10px 10px; display:none;">-->
<!--<div style="width: 900px; text-align: right;"><b onclick="AddBox();">[Close]</b></div>-->
|