Merge pull request #11071 from mukeshcompucorp/HW-380-civicase-settings-page
[civicrm-core.git] / 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
         });