Fix please wait modal
Benjamin Renard

Benjamin Renard commited on 2014-01-12 20:09:32
Showing 2 changed files, with 18 additions and 13 deletions.

... ...
@@ -544,11 +544,11 @@ on_click_logoff_btn=function() {
544 544
  *******************/
545 545
 
546 546
 pleaseWaitShow=function() {
547
-  $('#pleaseWaitDialog').modal('show');
547
+  $('#please_wait_modal').modal('show');
548 548
 }
549 549
 
550 550
 pleaseWaitHide=function() {
551
-  $('#pleaseWaitDialog').modal('hide');
551
+  $('#please_wait_modal').modal('hide');
552 552
 }
553 553
 
554 554
 /*********************
... ...
@@ -338,6 +338,22 @@ body{
338 338
   </div><!-- /.modal-dialog -->
339 339
 </div>
340 340
 
341
+<div class="modal fade" id="please_wait_modal" tabindex="-1" role="dialog" aria-labelledby="pleaseWaitModal" aria-hidden="true" data-keyboard='false' data-backdrop='static'>
342
+  <div class="modal-dialog">
343
+    <div class="modal-content">
344
+      <div class="modal-header">
345
+        <h2 class="modal-title">Chargement...</h2>
346
+      </div>
347
+      <div class="modal-body">
348
+        <div class="progress progress-striped active">
349
+          <div class="progress-bar"  role="progressbar" aria-valuenow="100" aria-valuemin="0" aria-valuemax="100" style="width: 100%">
350
+            <span class="sr-only">Chargement...</span>
351
+          </div>
352
+        </div>
353
+      </div>
354
+    </div><!-- /.modal-content -->
355
+  </div><!-- /.modal-dialog -->
356
+</div>
341 357
 
342 358
 <div class="modal fade" id="confirm_modal" tabindex="-1" role="dialog" aria-labelledby="confirmModal" aria-hidden="true">
343 359
   <div class="modal-dialog">
... ...
@@ -399,17 +415,6 @@ body{
399 415
   </div><!-- /.modal-dialog -->
400 416
 </div>
401 417
 
402
-<div class="modal hide" id="pleaseWaitDialog" data-backdrop="static" data-keyboard="false">
403
-  <div class="modal-header">
404
-    <h1>Chargement...</h1>
405
-  </div>
406
-  <div class="modal-body">
407
-    <div class="progress progress-striped active">
408
-      <div class="bar" style="width: 100%;"></div>
409
-    </div>
410
-  </div>
411
-</div>
412
-
413 418
 </div>
414 419
   <!-- jQuery (necessary for Bootstrap's JavaScript plugins) -->
415 420
   <script src="inc/lib/jquery-1.10.2.min.js"></script>
416 421