SHARE
TWEET

Untitled

a guest May 25th, 2014 940 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. Same thing happened to me, grey background and no text or progress.
  2.  
  3. Using bootstrap 3.1.1 and MVC.NET
  4.  
  5. Fixed the following -
  6. added modal-dialog and modal-content div containers
  7. removed the 'hide' from the outer 'modal hide' div class
  8. replaced the 'bar' with 'progress-bar'
  9.  
  10. So the new line should be:
  11.  
  12.       var pleaseWaitDiv = $('<div class="modal" id="pleaseWaitDialog" data-backdrop="static" data-keyboard="false"><div class="modal-dialog"><div class="modal-content"><div class="modal-header"><h1>Processing...</h1></div><div class="modal-body"><div class="progress progress-striped active"><div class="progress-bar" style="width: 100%;"></div></div></div></div></div></div>');
  13.  
  14. I use it on a form so i added to my button the following onclick attribute
  15.  
  16. onclick="myApp.showPleaseWait(); return true;"
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top