MASTER I add functinality label an addRoww to focus
I add functinality label an addRoww to focus
This commit is contained in:
@@ -685,8 +685,8 @@ var G_Grid = function(oForm, sGridName){
|
|||||||
if (this.onaddrow) {
|
if (this.onaddrow) {
|
||||||
this.onaddrow(currentRow);
|
this.onaddrow(currentRow);
|
||||||
}
|
}
|
||||||
newInputs = oNewRow.getElementsByTagName('input');
|
var newInputs = oNewRow.getElementsByTagName('input');
|
||||||
for (var i = 0; i <= newInputs.length; i++) {
|
for (var i = 0; i < newInputs.length; i++) {
|
||||||
if (typeof(newInputs[i]) != 'undefined' && newInputs[i].type != 'hidden') {
|
if (typeof(newInputs[i]) != 'undefined' && newInputs[i].type != 'hidden') {
|
||||||
newInputs[i].focus();
|
newInputs[i].focus();
|
||||||
break;
|
break;
|
||||||
|
|||||||
Reference in New Issue
Block a user