Açıklama Yok

FB_CKEditor.js 622B

123456789101112131415161718192021222324
  1. function ProtectPath(path) {
  2. path = path.replace( /\\/g,'\\\\');
  3. path = path.replace( /'/g,'\\\'');
  4. return path ;
  5. }
  6. function gup( name ) {
  7. name = name.replace(/[\[]/,"\\\[").replace(/[\]]/,"\\\]");
  8. var regexS = "[\\?&]"+name+"=([^&#]*)";
  9. var regex = new RegExp(regexS);
  10. var results = regex.exec(window.location.href);
  11. if(results == null)
  12. return "";
  13. else
  14. return results[1];
  15. }
  16. function OpenFile(fileUrl) {
  17. var CKEditorFuncNum = gup('CKEditorFuncNum');
  18. window.top.opener.CKEDITOR.tools.callFunction(CKEditorFuncNum, fileUrl);
  19. window.top.close();
  20. window.top.opener.focus();
  21. }