kivi.Part.js: init routine angelegt
authorSven Schöling <s.schoeling@linet-services.de>
Mon, 6 Feb 2017 12:07:03 +0000 (13:07 +0100)
committerSven Schöling <s.schoeling@linet-services.de>
Mon, 13 Feb 2017 15:32:43 +0000 (16:32 +0100)
js/kivi.Part.js

index 2882f6a..b610540 100644 (file)
@@ -578,6 +578,10 @@ namespace('kivi.Part', function(ns) {
     });
   }
 
+  ns.init = function() {
+    ns.reinit_widgets();
+  }
+
   $(function(){
 
     // assortment
@@ -620,6 +624,6 @@ namespace('kivi.Part', function(ns) {
 
     $('#part_warehouse_id').change(kivi.Part.reload_bin_selection);
 
-    ns.reinit_widgets();
+    ns.init();
   });
 });