]> wagnertech.de Git - kivitendo-erp.git/blobdiff - js/autocomplete_part.js
P.part_picker reicht jetzt das flag fat_set_item durch und schluckt nicht mehr class
[kivitendo-erp.git] / js / autocomplete_part.js
index a08130b63103f31c8925cca6101eae623dca7d2f..d0984eb01e3b7a2b40811efc9226fb015ee57bac 100644 (file)
@@ -16,8 +16,7 @@ namespace('kivi', function(k){
     var o = $.extend({
       limit: 20,
       delay: 50,
-      fat_set_item: 0, // use this option to get a fat item json with all
-                       // relevant data instead of the guaranteed id + name
+      fat_set_item: $real.hasClass('partpicker_fat_set_item'),
     }, options);
     var STATES = {
       UNIQUE: 1,