Guest User

Untitled

a guest
May 25th, 2014
978
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

Adblocker detected! Please consider disabling it...

We've detected AdBlock Plus or some other adblocking software preventing Pastebin.com from fully loading.

We don't have any obnoxious sound, or popup ads, we actively block these annoying types of ads!

Please add Pastebin.com to your ad blocker whitelist or disable your adblocking software.

×