Rev409, Delete files removed from content.json, Start download user files right after content.json downloaded, New API command: fileDelete, Better notification input auto focus
This commit is contained in:
parent
8f63e4c421
commit
917393c022
8 changed files with 90 additions and 43 deletions
|
@ -117,7 +117,8 @@ class Wrapper
|
|||
body.append(button)
|
||||
@notifications.add("notification-#{caption}", "ask", body)
|
||||
|
||||
setTimeout (-> button.focus() ), 1500
|
||||
button.focus()
|
||||
$(".notification").scrollLeft(0)
|
||||
|
||||
|
||||
actionConfirm: (message, cb=false) ->
|
||||
|
@ -145,7 +146,8 @@ class Wrapper
|
|||
|
||||
@notifications.add("notification-#{message.id}", "ask", body)
|
||||
|
||||
setTimeout (-> input.focus() ), 1500
|
||||
input.focus()
|
||||
$(".notification").scrollLeft(0)
|
||||
|
||||
|
||||
actionPrompt: (message) ->
|
||||
|
|
|
@ -898,9 +898,8 @@ jQuery.extend( jQuery.easing,
|
|||
button.on("click", cb);
|
||||
body.append(button);
|
||||
this.notifications.add("notification-" + caption, "ask", body);
|
||||
return setTimeout((function() {
|
||||
return button.focus();
|
||||
}), 1500);
|
||||
button.focus();
|
||||
return $(".notification").scrollLeft(0);
|
||||
};
|
||||
|
||||
Wrapper.prototype.actionConfirm = function(message, cb) {
|
||||
|
@ -947,9 +946,8 @@ jQuery.extend( jQuery.easing,
|
|||
})(this));
|
||||
body.append(button);
|
||||
this.notifications.add("notification-" + message.id, "ask", body);
|
||||
return setTimeout((function() {
|
||||
return input.focus();
|
||||
}), 1500);
|
||||
input.focus();
|
||||
return $(".notification").scrollLeft(0);
|
||||
};
|
||||
|
||||
Wrapper.prototype.actionPrompt = function(message) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue