Announcement

Do not use the forums to submit bug reports, feature requests or patches, submit a New Ticket instead.

#1 2005-05-20 02:14:53

niko
Xinha Authority
From: Salzburg/Austria
Registered: 2005-02-14
Posts: 338

config.baseHref <-> config.baseUrl

another question:

whats de difference between these two?
do we need both, wouldn't be one enough?

this is said in the source-code (line 256):

  // BaseURL included in the iframe document
  this.baseURL = document.baseURI || document.URL;

..but actually baseHref is used (line 1890):

      if(typeof editor.config.baseHref != 'undefined' && editor.config.baseHref != null)
      {
        html += "<base href=\"" + editor.config.baseHref + "\"/>\n";
      }

Niko

Offline

#2 2005-05-20 02:37:48

gogo
Xinha Leader
From: New Zealand
Registered: 2005-02-11
Posts: 1,015
Website

Re: config.baseHref <-> config.baseUrl

If it's not used, then it's a candidate for removal smile


James Sleeman

Offline

#3 2005-05-20 04:02:53

niko
Xinha Authority
From: Salzburg/Austria
Registered: 2005-02-14
Posts: 338

Re: config.baseHref <-> config.baseUrl

its used at other places!


Niko

Offline

Board footer

Powered by FluxBB