app/assets/javascripts/caboose/admin_edit_order.js in caboose-cms-0.5.69 vs app/assets/javascripts/caboose/admin_edit_order.js in caboose-cms-0.5.70

- old
+ new

@@ -1,18 +1,5 @@ -function curr(x) -{ - if (!x) return '0.00' - var t = typeof x; - if (t == 'boolean') return '0.00'; - if (t == 'number') return x.toFixed(2); - if (t == 'string') return parseFloat(x).toFixed(2); - console.log("curr doesn't know what this is:"); - console.log(x); - console.log(t); - return 'STAHP' -} - var OrderController = function(params) { this.init(params); } OrderController.prototype = { order_id: false, \ No newline at end of file