Plugin Directory

Changeset 1515847


Ignore:
Timestamp:
10/16/2016 11:00:54 AM (9 years ago)
Author:
kallidan1
Message:

JS files updated for help link click conflict

Location:
fb-group-feed
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • fb-group-feed/tags/1.5/js/script.js

    r1229771 r1515847  
    3434});
    3535function showFBhelp(id){
     36    if(jQuery('#contextual-help-wrap').height() > 0){
     37        jQuery('#contextual-help-wrap').hide();
     38    }
    3639    jQuery('#contextual-help-link').trigger('click');
    3740    //jQuery('#contextual-help-link-wrap a').trigger('click');
  • fb-group-feed/trunk/js/script.js

    r1222087 r1515847  
    1818
    1919jQuery(document).ready(function() {
    20     jQuery('#limit').spinner({step: 1, min: 1, max: 50});
    21     jQuery('#bxwidth').spinner({step: 5, min: 50, max: 500});
    22     jQuery('#bxheight').spinner({step: 5, min: 100, max: 1000 });
     20    var opts = {
     21        'limit':  {disabled: false, step: 1, min: 1, max: 50, numberFormat: "n"},
     22        'bxwidth':  {disabled: false, step: 5, min: 50, max: 500, numberFormat: "n"},
     23        'bxheight':  {disabled: false, step: 5, min: 100, max: 1000, numberFormat: "n"}
     24    }
     25    for (var n in opts){
     26        jQuery("#"+n).spinner(opts[n]);
     27    }
    2328
    2429    //help button click handler...
     
    2934});
    3035function showFBhelp(id){
     36    if(jQuery('#contextual-help-wrap').height() > 0){
     37        jQuery('#contextual-help-wrap').hide();
     38    }
     39    jQuery('#contextual-help-link').trigger('click');
     40    //jQuery('#contextual-help-link-wrap a').trigger('click');
     41
    3142    jQuery('#contextual-help-columns li').removeClass('active');
    3243    jQuery('#tab-panel-fb_groupfeed-help').removeClass('active');
     
    3445    jQuery('#tab-panel-fb_groupfeed-acc').removeClass('active');
    3546
    36     jQuery('#contextual-help-link').trigger('click');
    3747    if(id=='app'){
    3848        jQuery('#tab-link-fb_groupfeed-app').addClass('active');
Note: See TracChangeset for help on using the changeset viewer.