diff options
Diffstat (limited to 'admin/survey/script/progressBar.js')
-rw-r--r-- | admin/survey/script/progressBar.js | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/admin/survey/script/progressBar.js b/admin/survey/script/progressBar.js index 0a0885f..337a087 100644 --- a/admin/survey/script/progressBar.js +++ b/admin/survey/script/progressBar.js @@ -34,8 +34,12 @@ var starttime = 0; * @param getProgress - ali bomo v sessionu sporocali napredek, ali ne (ce ne, potem samo stejemo cas)
*/
function init_progressBar (getProgress) {
+
+ // Po novem nimamo vec progress bara in prikazemo samo "nalaganje"
+ $('body').addClass('waitlong');
+ $("#loading").show();
- if (typeof(getProgress) == 'undefined') getProgress = false;
+ /*if (typeof(getProgress) == 'undefined') getProgress = false;
$('#fade').fadeTo('slow', 1);
$('#fullscreen').show();
@@ -44,7 +48,6 @@ function init_progressBar (getProgress) { '<div class="red" id="pbLabel">'+lang['srv_please_wait']+'</div>' +
'<br/><br/>' +
'<div id="pbPercent" class="floatLeft pbLabel">'+lang['srv_collectdata_progress_status']+':</div><div id="pbRowPercent" class="floatLeft"><span id="pbRowPercentLabel"></span><div> </div></div>' +
- '<br class="clr">' +
'</div>'
);
@@ -56,8 +59,7 @@ function init_progressBar (getProgress) { var d = new Date();
starttime = d.getTime();
- pbInterval=window.setInterval("refresh_progressBar("+getProgress+")",250); // klicemo na 250ms
-
+ pbInterval=window.setInterval("refresh_progressBar("+getProgress+")",250); // klicemo na 250ms*/
}
/**
|