Changeset 772


Ignore:
Timestamp:
03/12/07 23:13:00 (12 years ago)
Author:
ray
Message:

Ticket #981: added config option for doctype (xinha_config.doctype)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/XinhaCore.js

    r771 r772  
    412412  // CharSet of the iframe, default is the charset of the document 
    413413  this.charSet = (typeof document.characterSet != 'undefined') ? document.characterSet : document.charset; 
     414 
     415  // Doctype of the iframe, default is the doctype of the document 
     416  this.doctype = ''; 
    414417 
    415418  // URL-s 
     
    24032406  if ( !editor.config.fullPage ) 
    24042407  { 
    2405     html += this.doctype ? this.doctype : Xinha.getDoctype(document) + "\n"; 
     2408    html += editor.config.doctype ? editor.config.doctype : Xinha.getDoctype(document) + "\n"; 
    24062409    html += "<html>\n"; 
    24072410    html += "<head>\n"; 
Note: See TracChangeset for help on using the changeset viewer.