javascripts/basepack.js in netzke-basepack-0.12.0 vs javascripts/basepack.js in netzke-basepack-0.12.1
- old
+ new
@@ -1,7 +1,6 @@
-Ext.ns("Netzke.pre");
-Ext.ns("Netzke.pre.Basepack");
+Ext.ns("Netzke.mixins.Basepack");
Ext.ns("Ext.ux.grid");
Ext.util.Format.mask = function(v){
return "********";
};
@@ -32,5 +31,13 @@
};
Netzke.modelName = function(name){
return "Netzke.models." + name;
};
+
+// Fix 2-digit precision in the numeric filter
+Ext.define('Ext.grid.filters.filter.Number', {
+ override: 'Ext.grid.filters.filter.Number',
+ getItemDefaults: function() {
+ return Ext.apply(this.itemDefaults, { decimalPrecision: 10 });
+ }
+});