Changeset 5860 in spip-zone


Ignore:
Timestamp:
Oct 3, 2006, 3:57:21 PM (15 years ago)
Author:
renato@…
Message:

safari compatibility

File:
1 edited

Legend:

Unmodified
Added
Removed
  • _plugins_/_stable_/forms/1_9_1/forms_lang.js

    r5859 r5860  
    11var forms_containers={},forms_fields={},forms_forms,forms_menu_lang;
    22var match_multi = /\[([a-z_]+)\](.*?)(?=\[[a-z_]+\]|$)/mig;
    3 var forms_cur_lang,css_link,css_cur_link={};
    4 css_link = {cursor:"pointer",margin:"2px 5px",float:"left"};
    5 $.extend(css_cur_link,css_link)
    6 $.extend(css_cur_link,{fontWeight:"bold"});
     3var forms_cur_lang,forms_css_link,forms_css_cur_link={};
     4forms_css_link = {"cursor":"pointer","margin":"2px 5px","float":"left"};
     5$.extend(forms_css_cur_link,forms_css_link);
     6$.extend(forms_css_cur_link,{fontWeight:"bold"});
    77
    88function forms_init_lang() {
     
    1414        forms_menu_lang =$("<div>");
    1515        $.each(forms_avail_langs,function() {
    16                 forms_menu_lang.append($("<a>").html("["+this+"]").css(this==forms_def_lang?css_cur_link:css_link)[0]);
     16                forms_menu_lang.append($("<a>").html("["+this+"]").css(this==forms_def_lang?forms_css_cur_link:forms_css_link)[0]);
    1717        });
    1818        //create menu lang for the global form
Note: See TracChangeset for help on using the changeset viewer.