Changeset 192


Ignore:
Timestamp:
05/24/05 10:34:17 (15 years ago)
Author:
gocher
Message:

Add closing tags textarea, form, select in htmlarea.js

Forms: A select with size="1" can't be multiple!

Location:
trunk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/htmlarea.js

    r177 r192  
    45864586} 
    45874587 
    4588 HTMLArea._closingTags = " head script style div span tr td tbody table em strong b i code cite dfn abbr acronym font a title "; 
     4588HTMLArea._closingTags = " head script style div span tr td tbody table em strong b i code cite dfn abbr acronym font a title textarea select form "; 
    45894589HTMLArea.needsClosingTag = function(el) { 
    45904590  return el && el.nodeType == 1 && (HTMLArea._closingTags.indexOf(" " + el.tagName.toLowerCase() + " ") != -1); 
  • trunk/plugins/Forms/popups/select.html

    r191 r192  
    3636  param["f_name"] = d.getElementById("f_name").value; 
    3737        param["f_size"] = d.getElementById("f_size").value; 
    38         param["f_multiple"] = d.getElementById("f_multiple").checked; 
     38  if (d.getElementById("f_size").value=="1")  
     39    param["f_multiple"]=false; 
     40  else 
     41        param["f_multiple"] = d.getElementById("f_multiple").checked; 
    3942        function optionValues(text,value) { 
    4043                this.text = text; 
Note: See TracChangeset for help on using the changeset viewer.