1
0
mirror of https://github.com/haiwen/seahub.git synced 2025-09-01 15:09:14 +00:00

[lib setting] modified 'lib transfer success'

This commit is contained in:
llj
2015-05-26 12:04:29 +08:00
parent 1e009acffc
commit 5a94089ce8
7 changed files with 13 additions and 26 deletions

View File

@@ -143,15 +143,6 @@ define([
setTimeout(function() { $('.messages').addClass('hide'); }, time);
},
// for '{% if messages %}'
showMsg: function() {
var msg = $('.messages');
if (msg.length > 0) {
msg.css({'left':($(window).width() - msg.width())/2, 'top':10}).removeClass('hide');
setTimeout(function() { msg.addClass('hide'); }, 5000);
}
},
showFormError: function(formid, error_msg) {
$("#" + formid + " .error").html(error_msg).removeClass('hide');
$("#simplemodal-container").css({'height':'auto'});