Changes between Version 1 and Version 2 of Ticket #7784, comment 9


Ignore:
Timestamp:
Jun 23, 2011, 11:09:42 AM (9 years ago)
Author:
ron
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #7784, comment 9

    v1 v2  
    66
    77My solution was this...
     8
     9                        for(h=0;h<c.styleSheets.length;h++){
     10                                var i=c.styleSheets[h],j=i.ownerNode| |i.owningElement;
     11
     12                                if(j.getAttribute('data-cke-temp')){
     13                                        continue;
     14                                }
     15                                if(i.href&&i.href.substr(0,9)=='chrome://'){
     16                                        continue;
     17                                }
    818
    919                                if(i.href !== null){
     
    2232                                        }
    2333                                }
     34                        }
    2435
    2536The error was being produced when the instance first loaded. After that the stylesheet was loaded the combo would be populated when checked.
© 2003 – 2019 CKSource – Frederico Knabben. All rights reserved. | Terms of use | Privacy policy