BUG 9288 I add key '-' to currency Int
I add validation to currency Int
This commit is contained in:
@@ -1101,7 +1101,7 @@ function G_Text(form, element, name)
|
|||||||
cursorStart = currentSel.selectionStart;
|
cursorStart = currentSel.selectionStart;
|
||||||
cursorEnd = currentSel.selectionEnd;
|
cursorEnd = currentSel.selectionEnd;
|
||||||
switch(keyCode){
|
switch(keyCode){
|
||||||
case 8:
|
case 8:
|
||||||
newValue = currentValue.substring(0, cursorStart - 1);
|
newValue = currentValue.substring(0, cursorStart - 1);
|
||||||
newValue += currentValue.substring(cursorEnd, currentValue.length);
|
newValue += currentValue.substring(cursorEnd, currentValue.length);
|
||||||
newCursor = cursorStart - 1;
|
newCursor = cursorStart - 1;
|
||||||
|
|||||||
Reference in New Issue
Block a user