Advertisement
Guest User

Untitled

a guest
Jan 24th, 2017
87
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. conversor_importar.actions = {
  2.     log: function (log) {
  3.         console.log(log)
  4.     },
  5.     error: function(j) {
  6.         App.alerta(j.msg);
  7.     },
  8.     updateStatus: function(j) {
  9.         if (j.fim === true) {
  10.             App.loading(false)
  11.         }
  12.  
  13.         if (j.ajuste_final == true) {
  14.             $(".updateStatusTxt").html("Ajustes finais, aguarde ...");
  15.         } else {
  16.             $(".updateStatusTxt").html(j.porcentagem + "%");
  17.         }
  18.  
  19.         $(".updateStatus").css({"width": j.porcentagem + "%"});
  20.        
  21.     }
  22. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement