Changeset 17761 for extensions/edit_gmaps/admin/js/fieldset.js
- Timestamp:
- Sep 5, 2012, 6:15:07 PM (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
extensions/edit_gmaps/admin/js/fieldset.js
r10060 r17761 1 1 if (typeof ef_animate_fast == "undefined") 2 2 var ef_animate_fast = true; 3 var no_affiche; 3 4 4 5 // Smart Fieldsets initialization/ … … 6 7 var ef_plus_bullet_path = './plugins/edit_gmaps/admin/icon/plus.png'; 7 8 var ef_minus_bullet_path = './plugins/edit_gmaps/admin/icon/minus.png'; 8 9 9 } 10 10 … … 13 13 14 14 function ef_reduce(fieldset_id, fast) { 15 jQuery('#' + fieldset_id).hide(); 16 return; 15 17 l_m = jQuery('#' + fieldset_id + ' legend'); 18 16 19 if (ef_reduce.arguments.length < 2) fast = ef_animate_fast; 17 20 if (!l_m.is('.ef_command')) l_m.addClass('ef_command'); … … 19 22 l_m.trigger('ef_reduce_private', fast.fast,this); 20 23 l_m.removeClass('ef_command'); 21 24 l_m.hide(); 22 25 } 23 26 … … 35 38 function ef_init(fieldset_id, cache_id) { 36 39 jQuery(document).ready(function () { 40 37 41 var f_m = jQuery('#' + fieldset_id); 38 42 l_m = jQuery('#' + fieldset_id + ' legend'); … … 118 122 f_r.slideUp(400); 119 123 f_m.slideDown(400, function () { 120 f_m.find('*').not('.ef_legends, img').animate({ opacity: 1 }, 200);124 f_m.find('*').not('.ef_legends, img').animate({ opacity: 1 }, 200); 121 125 }); 122 126 } … … 131 135 l_r.trigger('ef_maximize_private', ef_animate_fast); 132 136 }); 133 if (no_affiche !="true") {137 if (no_affiche != "true") { 134 138 ef_reduce("geoposition", { fast: true }) 135 139 // jQuery("#Envoie").trigger("submit"); … … 161 165 162 166 163 jQuery(document).ready(function () { 167 jQuery(document).ready(function () { 168 164 169 if (jQuery(".fieldset").length >= 1) { 165 170 jQuery(".fieldset").each(
Note: See TracChangeset
for help on using the changeset viewer.