Changeset 1597

Show
Ignore:
Timestamp:
2008-02-24 13:05:24 (8 months ago)
Author:
alfonsoml
Message:

Like #1627, the testcases failed in IE7

Location:
FCKeditor/trunk/_testcases
Files:
10 modified

Legend:

Unmodified
Added
Removed
  • FCKeditor/trunk/_testcases/001.html

    r1565 r1597  
    6161// This is usefull only for these samples. A real application should use something like this: 
    6262// oFCKeditor.BasePath = '/fckeditor/' ;        // '/fckeditor/' is the default value. 
    63 var sBasePath = document.location.pathname.substring(0,document.location.pathname.lastIndexOf('_testcases')) ; 
     63var sBasePath = document.location.href.substring(0,document.location.href.lastIndexOf('_testcases')) ; 
    6464 
    6565var oFCKeditor = new FCKeditor( 'FCKeditor1' ) ; 
  • FCKeditor/trunk/_testcases/002.html

    r1565 r1597  
    6161// This is usefull only for these samples. A real application should use something like this: 
    6262// oFCKeditor.BasePath = '/fckeditor/' ;        // '/fckeditor/' is the default value. 
    63 var sBasePath = document.location.pathname.substring(0,document.location.pathname.lastIndexOf('_testcases')) ; 
     63var sBasePath = document.location.href.substring(0,document.location.href.lastIndexOf('_testcases')) ; 
    6464 
    6565var oFCKeditor = new FCKeditor( 'FCKeditor1' ) ; 
  • FCKeditor/trunk/_testcases/003.html

    r1565 r1597  
    6161// This is usefull only for these samples. A real application should use something like this: 
    6262// oFCKeditor.BasePath = '/fckeditor/' ;        // '/fckeditor/' is the default value. 
    63 var sBasePath = document.location.pathname.substring(0,document.location.pathname.lastIndexOf('_testcases')) ; 
     63var sBasePath = document.location.href.substring(0,document.location.href.lastIndexOf('_testcases')) ; 
    6464 
    6565var oFCKeditor = new FCKeditor( 'FCKeditor1' ) ; 
  • FCKeditor/trunk/_testcases/004.html

    r1565 r1597  
    8585// This is usefull only for these samples. A real application should use something like this: 
    8686// oFCKeditor.BasePath = '/fckeditor/' ;        // '/fckeditor/' is the default value. 
    87 var sBasePath = document.location.pathname.substring(0,document.location.pathname.lastIndexOf('_testcases')) ; 
     87var sBasePath = document.location.href.substring(0,document.location.href.lastIndexOf('_testcases')) ; 
    8888 
    8989var oFCKeditor = new FCKeditor( 'FCKeditor1' ) ; 
  • FCKeditor/trunk/_testcases/005.html

    r1565 r1597  
    5757// This is usefull only for these samples. A real application should use something like this: 
    5858// oFCKeditor.BasePath = '/fckeditor/' ;        // '/fckeditor/' is the default value. 
    59 var sBasePath = document.location.pathname.substring(0,document.location.pathname.lastIndexOf('_testcases')) ; 
     59var sBasePath = document.location.href.substring(0,document.location.href.lastIndexOf('_testcases')) ; 
    6060 
    6161var oFCKeditor = new FCKeditor( 'FCKeditor1' ) ; 
  • FCKeditor/trunk/_testcases/006.html

    r1565 r1597  
    6363// This is usefull only for these samples. A real application should use something like this: 
    6464// oFCKeditor.BasePath = '/fckeditor/' ;        // '/fckeditor/' is the default value. 
    65 var sBasePath = document.location.pathname.substring(0,document.location.pathname.lastIndexOf('_testcases')) ; 
     65var sBasePath = document.location.href.substring(0,document.location.href.lastIndexOf('_testcases')) ; 
    6666 
    6767var oFCKeditor = new FCKeditor( 'FCKeditor1' ) ; 
  • FCKeditor/trunk/_testcases/007.html

    r1565 r1597  
    5454// This is usefull only for these samples. A real application should use something like this: 
    5555// oFCKeditor.BasePath = '/fckeditor/' ;        // '/fckeditor/' is the default value. 
    56 var sBasePath = document.location.pathname.substring(0,document.location.pathname.lastIndexOf('_testcases')) ; 
     56var sBasePath = document.location.href.substring(0,document.location.href.lastIndexOf('_testcases')) ; 
    5757 
    5858var oFCKeditor = new FCKeditor( 'FCKeditor1' ) ; 
  • FCKeditor/trunk/_testcases/008.html

    r1565 r1597  
    7474// This is usefull only for these samples. A real application should use something like this: 
    7575// oFCKeditor.BasePath = '/fckeditor/' ;        // '/fckeditor/' is the default value. 
    76 var sBasePath = document.location.pathname.substring(0,document.location.pathname.lastIndexOf('_testcases')) ; 
     76var sBasePath = document.location.href.substring(0,document.location.href.lastIndexOf('_testcases')) ; 
    7777 
    7878var oFCKeditor = new FCKeditor( 'FCKeditor1' ) ; 
  • FCKeditor/trunk/_testcases/009.html

    r1565 r1597  
    9494// This is usefull only for these samples. A real application should use something like this: 
    9595// oFCKeditor.BasePath = '/fckeditor/' ;        // '/fckeditor/' is the default value. 
    96 var sBasePath = document.location.pathname.substring(0,document.location.pathname.lastIndexOf('_testcases')) ; 
     96var sBasePath = document.location.href.substring(0,document.location.href.lastIndexOf('_testcases')) ; 
    9797 
    9898var oFCKeditor = new FCKeditor( 'FCKeditor1' ) ; 
  • FCKeditor/trunk/_testcases/010.html

    r1565 r1597  
    7979// This is usefull only for these samples. A real application should use something like this: 
    8080// oFCKeditor.BasePath = '/fckeditor/' ;        // '/fckeditor/' is the default value. 
    81 var sBasePath = document.location.pathname.substring(0,document.location.pathname.lastIndexOf('_testcases')) ; 
     81var sBasePath = document.location.href.substring(0,document.location.href.lastIndexOf('_testcases')) ; 
    8282 
    8383var oFCKeditor = new FCKeditor( 'FCKeditor1' ) ;