commit 100254038859bccf4fb1c78277dde9c5a386d22e
parent fc1936f85e86c7d1198f64de9d4dce67c2321403
Author: Jan Dankert <devnull@localhost>
Date: Mon, 7 Nov 2011 20:20:25 +0100
Fortschrittsbalken für Views.
Diffstat:
2 files changed, 6 insertions(+), 2 deletions(-)
diff --git a/themes/default/css/layout.css b/themes/default/css/layout.css
@@ -985,7 +985,11 @@ div.window div.status div.ok {
background: url(../images/notice_ok.png) no-repeat;
padding-left:20px;
}
-div.window div.status div.loader {
+
+/* Fortschrittsbalken */
+div.loader,
+div.progress
+{
xborder:1px solid silver;
width:230;
height:25px;
diff --git a/themes/default/js/openrat.js b/themes/default/js/openrat.js
@@ -111,7 +111,7 @@ function loadView(jo, url )
filebrowserBrowseUrl:'./dispatcher.php?action=filebrowser&subaction=browse'
};
- $(jo).fadeOut('fast').empty().load(url,function() {
+ $(jo).empty().html('<div class="loader" />').load(url,function() {
$(jo).fadeIn(100);
var o=CKEDITOR.instances[ $('textarea.editor').attr('name') ];
if (o) o.destroy();