资源库

This commit is contained in:
lizanle 2015-08-18 15:42:36 +08:00
parent 32aef6f289
commit 375c016783
1 changed files with 1 additions and 1 deletions

View File

@ -199,7 +199,7 @@ $(".resourcesList").click(function(e) {
'"/> <input type="hidden" name="res_id" value="'+id+'"/>'+
'<% end %>');
$("#res_name").focus();
document.getElementById('res_name').scrollIntoView()
$("html,body").animate({scrollTop:$("#res_name").offset().top},1000)
}
String.prototype.trim = function() {
var str = this,