BUG 9288 Change the source code to permite negative numbers in currency fields (IE) SOLVED
- Don't works on IE - Add validation for IE browser
This commit is contained in:
@@ -1021,7 +1021,7 @@ function G_Text(form, element, name)
|
||||
break;
|
||||
case 45:
|
||||
if (me.mType == 'currency') {
|
||||
newValue = currentValue.substring(0, currentValue.length);
|
||||
newValue = currentValue.substring(0, currentValue.length).split('');
|
||||
for (var numI = 0; newValue.length > numI; numI++) {
|
||||
var campVal = newValue[numI];
|
||||
if ((typeof(campVal) === 'number' || typeof(campVal) === 'string') && (campVal !== '') && (!isNaN(campVal))) {
|
||||
@@ -1038,6 +1038,9 @@ function G_Text(form, element, name)
|
||||
}
|
||||
}
|
||||
}
|
||||
if (newValue.join) {
|
||||
newValue = newValue.join('');
|
||||
}
|
||||
}
|
||||
break;
|
||||
default:
|
||||
|
||||
@@ -72,7 +72,7 @@ var maborak = function(forceCssLoad){
|
||||
/* create Stylesheet BEGIN */
|
||||
//erik: Now the core css is available just by demand
|
||||
if (this.forceCssLoad === true) {
|
||||
console.log('cargo css');
|
||||
//console.log('cargo css');
|
||||
var st =$dce('link');
|
||||
st.rel ='stylesheet';
|
||||
st.type ='text/css';
|
||||
|
||||
@@ -237,7 +237,7 @@ leimnud.Package.Public({
|
||||
if(this.drop.selected!==false)
|
||||
{
|
||||
var inp = this.drop.elements[this.drop.selected].value;
|
||||
console.log(this.options.panel[inp]);
|
||||
//console.log(this.options.panel[inp]);
|
||||
//console.info("========================");
|
||||
//console.info(i+":"+this.drop.selected);
|
||||
//console.info(this.drop.elements[this.drop.selected].value);
|
||||
|
||||
@@ -493,7 +493,7 @@ leimnud.Package.Public({
|
||||
this.group={
|
||||
elements:[
|
||||
{text:'New Element',launch:function(){
|
||||
console.log(this)
|
||||
//console.log(this)
|
||||
}.extend(this)},
|
||||
]
|
||||
};
|
||||
|
||||
@@ -271,7 +271,7 @@
|
||||
|
||||
|
||||
var idUnique = md5(PRO_UID+APP_UID+TAS_UID+DYN_UID);
|
||||
console.log(window.content);
|
||||
//console.log(window.content);
|
||||
|
||||
var tabData = Ext.util.JSON.encode(historyDynaformGridHistoryGlobal);
|
||||
var tabName = 'historyDynaformGridHistory_'+idUnique;
|
||||
|
||||
@@ -101,7 +101,7 @@ function finishInstallation()
|
||||
}
|
||||
|
||||
function _redirect(_uri){
|
||||
console.log('redirecting:: '+_uri);
|
||||
//console.log('redirecting:: '+_uri);
|
||||
window.location = _uri;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user