BUG 9288 I add key '-' to currency Int

I add validation to currency Int
This commit is contained in:
Brayan Osmar Pereyra Suxo
2012-10-09 10:19:11 -04:00
parent 73a11b4425
commit 750ce8ad51

View File

@@ -1101,7 +1101,7 @@ function G_Text(form, element, name)
cursorStart = currentSel.selectionStart;
cursorEnd = currentSel.selectionEnd;
switch(keyCode){
case 8:
case 8:
newValue = currentValue.substring(0, cursorStart - 1);
newValue += currentValue.substring(cursorEnd, currentValue.length);
newCursor = cursorStart - 1;