|
|
@ -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,
|
|
|
|