Branch_szzh
lizanle 10 years ago
parent 32aef6f289
commit 375c016783

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

Loading…
Cancel
Save