Ignore:
Timestamp:
Jun 21, 2011, 1:54:46 PM (13 years ago)
Author:
cljosse
Message:

[extensions] set_plugins save/restore list to file

File:
1 edited

Legend:

Unmodified
Added
Removed
  • extensions/set_plugins/js/field_set.js

    r11385 r11462  
    33 // jQuery("#form_set_plugins").submit();
    44}
     5
     6
     7jQuery().ready(function () {
     8  jQuery('.cluetip').tipTip({  maxWidth:'600px' ,'delay': 0, 'fadeIn': 200, 'fadeOut': 200 }); 
     9  jQuery('.cluetip0').cluetip({
     10    width: 300,
     11    splitTitle: '|'    ,
     12    clickThrough: true
     13  });
     14
     15
     16
     17
     18});
     19
     20
    521
    622
     
    3450      liste = liste_visible.split(reg);
    3551      reg = new RegExp("['off']", "g");
     52      h_min = jQuery("fieldset legend").height();
     53      h_min = 0;
    3654      jQuery("fieldset").each(
    3755        function (i) {
     
    4866            liste[i] = "off";
    4967
    50             h_min = jQuery("#" + this.id + ' legend').height();
     68
    5169            jQuery(this).height(h_min + 0);
    5270
     
    129147    } // fielset
    130148    //====================================================================
     149
     150    jQuery("input").each(
     151        function (i) {
     152          jQuery(this).click(function (event) {
     153            jQuery(this).css("color", "red");
     154            jQuery('#set').val("true");
     155            jQuery.ajax({
     156              type: "POST",
     157              async: true,
     158              data: {
     159                set: "true"
     160              }
     161           ,
     162              success: function (data) {
     163                //  jQuery("#form_set_plugins").submit();
     164
     165              }
     166            });
     167          }); // click
     168
     169        }); //each
    131170    jQuery(".pluginBox a").click(function (event) {
    132171      var link = event.target.href;
     
    142181          async: true,
    143182          data: { add_plugins: query.plugin,
    144            set: "true",
    145            list_visible: val
    146             }
     183            set: "true",
     184            list_visible: val
     185          }
    147186           ,
    148187          success: function (data) {
    149           //  jQuery("#form_set_plugins").submit();
     188            //  jQuery("#form_set_plugins").submit();
    150189
    151190          }
     
    157196
    158197  }); // load
    159 });                                                               //ready           
     198});                                                                //ready           
    160199           
Note: See TracChangeset for help on using the changeset viewer.