CRM-21169 - Fix broken inline edit for profiles
authoryashodha <yashodha@cividesk.com>
Mon, 11 Sep 2017 05:50:12 +0000 (11:20 +0530)
committeryashodha <yashodha@cividesk.com>
Mon, 11 Sep 2017 05:50:12 +0000 (11:20 +0530)
js/view/crm.designer.js

index 40ff4e062e25447b97f1454db4b42f1b027c24fd..a92ac6d60676ef703cee77c3025aaab470eb14ef 100644 (file)
       }).bind('loaded.jstree', function () {
         $('.crm-designer-palette-field', this).draggable({
           appendTo: '.crm-designer',
-          zIndex: $(this.$el).zIndex() + 5000,
+          zIndex: $(this.$el).css("zIndex") + 5000,
           helper: 'clone',
           connectToSortable: '.crm-designer-fields' // FIXME: tight canvas/palette coupling
         });