Lines Matching refs:getCurrentFile

9979 ….getCurrentFile()!=this||this.invalidChecksum?null!=e&&e():this.getLatestVersion(mxUtils.bind(this…
9992 …null!=this.backupPatch&&this.patch([this.backupPatch]);var g=this.ui.getCurrentFile();null!=g&&(g.…
10011 …addAllSavedStatus=function(b){null!=this.ui.statusContainer&&this.ui.getCurrentFile()==this&&(b=nu…
10014 …(b){if(!this.inConflictState&&null!=this.ui.statusContainer&&this.ui.getCurrentFile()==this)if(b i…
10025 …ototype.handleFileSuccess=function(b){this.ui.spinner.stop();this.ui.getCurrentFile()==this&&(this…
10026 DrawioFile.prototype.handleFileError=function(b,e){this.ui.spinner.stop();if(this.ui.getCurrentFile
10048 …his.ui.getEmbeddedPng(mxUtils.bind(this,function(b){l(b)}),c,this.ui.getCurrentFile()!=this?n:null…
10101 …c,mxResources.get("embed")+" ");var F=b.getBasenames().join(";"),G=b.getCurrentFile();mxEvent.addL…
10180 encodeURIComponent(M.value)+"&create="+encodeURIComponent(c)),null==b.getCurrentFile()?window.locat…
10193 …)));if(!Editor.useLocalStorage||"device"==urlParams.storage||null!=b.getCurrentFile()&&"1"!=urlPar…
10233 …Name:"spinner",zIndex:2E9,top:"50%",left:"50%"},u=new Spinner(t),v=b.getCurrentFile(),x=b.getXmlFi…
10416 …lement("tbody");c.style.width="100%";c.style.marginTop="8px";var k=b.getCurrentFile();e=null!=k&&n…
10542getCurrentFile()||"1"==urlParams.embed||this.editorUi.editor.chromeless?p.apply(this,arguments):th…
10543 …rototype.addView=function(b){b=q.apply(this,arguments);this.editorUi.getCurrentFile();if(mxClient.…
10545 f=c.editor.graph;if(f.isEnabled()){var d=c.getCurrentFile();if(null!=d&&d.isAutosaveOptional()){var…
10666 …tePrintPreview(c,v,u,0,n,y,x);f.pageSelector=!1;f.mathEnabled=!1;n=b.getCurrentFile();null!=n&&(f.…
10725 … b};EditorUi.prototype.synchronizeCurrentFile=function(b){var c=this.getCurrentFile();null!=c&&(c.…
10728 k,A,z);x=null!=x?x:this.getCurrentFile();b=this.createFileData(n,f,x,window.location.href,b,c,d,e,g…
10737 !1)}}catch(x){}};EditorUi.prototype.getBaseFilename=function(b){var c=this.getCurrentFile(),c=null!…
10751 …pyOf",[f])+d};EditorUi.prototype.fileLoaded=function(b,c){var f=this.getCurrentFile();this.fileEdi…
10786 mxUtils.bind(this,function(b){b&&null==this.getCurrentFile()&&"1"!=urlParams.embed&&this.showSplash…
10801 …{null!=b&&(b.opened=new Date);this.currentFile=b};EditorUi.prototype.getCurrentFile=function(){ret…
10829 …ces.get("edit")+":",!0,null,!0);f.style.marginLeft="24px";var d=this.getCurrentFile(),e="";null!=d…
10836 c,d,e,g,k,x);b=this.getCurrentFile();c=!0;null!=n?d="#U"+encodeURIComponent(n):(b=this.getCurrentFi…
10841 …e(k,mxResources.get("publicDiagramUrl"));g.appendChild(k);var p=this.getCurrentFile();null==d&&nul…
10845 …enter;margin-top:0px;margin-bottom:12px";f.appendChild(l);var m=this.getCurrentFile();b=0;if(null=…
10847 …in(document.body,mxResources.get("loading"))&&this.getPublicUrl(this.getCurrentFile(),mxUtils.bind…
11589 mxUtils.bind(this,function(){var b=this.getCurrentFile(),b=null!=b?b.getMode():null;"1"==urlParams.…
11590 "manual";var b=this.getCurrentFile();null!=b&&null!=b.sync&&(b.sync.destroy(),b.sync=null,b=mxUtils…
11594 App.prototype.sanityCheck=function(){var b=this.getCurrentFile();if(null!=b&&b.isModified()&&b.isAu…
11610 ….split(";"),!0)};App.prototype.getEditBlankXml=function(){var b=this.getCurrentFile();return null!…
11613 ….editor.modified)return mxResources.get("allChangesLost");var b=this.getCurrentFile();if(null!=b)i…
11614 …this.editor.graph.isLightboxView()){var b=this.editor.appName,e=this.getCurrentFile();this.isOffli…
11617 …l,null,"diagram",null),d=!0;else if(this.canvasSupported&&null!=this.getCurrentFile()){var q=docum…
11621 …orage=this.mode==App.MODE_BROWSER);if(null!=this.appIcon){var c=this.getCurrentFile();e=null!=c?c.…
11623 …ction(b){if(mxEvent.isAltDown(b))this.showSplash(!0);else{var e=this.getCurrentFile(),d=null!=e?e.…
11629 …arams.state)):null}catch(b){}this.editor.graph.setEnabled(null!=this.getCurrentFile());null!=windo…
11631 …),mxResources.get("refresh"),mxUtils.bind(this,function(){var b=this.getCurrentFile();null!=b&&b.s…
11637 function(b){var c=this.getCurrentFile();EditorUi.debug("storage event",b,c);null!=c&&".draft-alive-…
11638getCurrentFile();null!=d&&d.getHash()==c||this.loadFile(c,!0)}catch(l){null!=document.body&&this.h…
11639 …urlParams.url)this.loadFile("U"+urlParams.url,!0);else if(null==this.getCurrentFile()){var e=mxUti…
11640 …){return window.location.hash.substring(1)});this.fileLoaded(b);this.getCurrentFile().setModified(…
11645 400,b>d?390:270,!0,!1,mxUtils.bind(this,function(b){b&&null==this.getCurrentFile()&&this.showSplash…
11648 …function(){window.setTimeout(mxUtils.bind(this,function(){var b=this.getCurrentFile();null!=b&&(b.…
11664 null!=this.getCurrentFile()&&!this.isDiagramEmpty();window.baseUrl=this.getUrl();window.openKey="op…
11665 …_BROWSER?new StorageFile(this,c,d):new LocalFile(this,c,d))}),f=this.getCurrentFile();null!=f&&f.i…
11666 c;k.apply(g,arguments);null==this.getCurrentFile()&&this.showSplash()})}}}catch(n){this.handleError…
11678 …,e){var d=this.getCurrentFile();if(null!=d){var c=mxUtils.bind(this,function(){EditorUi.enableDraf…
11687 …ner.stop()}),p=mxUtils.bind(this,function(b){m();null==b&&null==this.getCurrentFile()&&null==this.…
11692 …{this.spinner.stop()}),q=mxUtils.bind(this,function(){p();var f=this.getCurrentFile();null==d&&nul…
11695 …ror(b,mxResources.get("errorLoadingFile"),mxUtils.bind(this,function(){var b=this.getCurrentFile();
11696 …rces.get("errorLoadingFile"),mxUtils.bind(this,function(){var b=this.getCurrentFile();window.locat…
11698 …;this.fileLoaded(g);null!=c&&c()}else if("E"==b.charAt(0))null==this.getCurrentFile()?this.handleE…
11699 …);this.loadFile("G"+b,e,null,mxUtils.bind(this,function(){var d=this.getCurrentFile();null!=d&&thi…
11703getCurrentFile();window.location.hash=null!=b?b.getHash():""}));else{var t=b.charAt(0);b=decodeURI…
11704getCurrentFile();null==b?(window.location.hash="",this.showSplash()):window.location.hash="#"+b.ge…
11713 …ButtonContainer=function(){if(null!=this.buttonContainer){var b=this.getCurrentFile();"1"==urlPara…
11729 App.prototype.save=function(b,e){var d=this.getCurrentFile();if(null!=d&&this.spinner.spin(document…
11736 App.prototype.descriptorChanged=function(){var b=this.getCurrentFile();if(null!=b){if(null!=this.fn…
11738 …:140,!0,!0,mxUtils.bind(this,function(b){null!=c&&c(b);b&&null==this.getCurrentFile()&&null==this.…
11747 …ner(this.appIcon,"mouseover",mxUtils.bind(this,function(){var b=this.getCurrentFile();null!=b&&(b=…
11751 …Listener(this.fname,"click",mxUtils.bind(this,function(b){var c=this.getCurrentFile();null!=c&&c.i…
11769 …st();if(0<e.length){var k=mxUtils.bind(this,function(b,c){var d=this.getCurrentFile();null!=d&&d.c…
11778 …AGE_PATH+"/dropbox-logo.svg",mxUtils.bind(this,function(){var b=this.getCurrentFile();if(null!=b&&…
11779 this.oneDrive.noLogout?null:mxUtils.bind(this,function(){var b=this.getCurrentFile();if(null!=b&&b.…
11780getCurrentFile();if(null!=b&&b.constructor==GitHubFile){var c=mxUtils.bind(this,function(){this.gi…
11781 …MAGE_PATH+"/notion-logo.svg",mxUtils.bind(this,function(){var b=this.getCurrentFile();if(null!=b&&…
11782 …MAGE_PATH+"/trello-logo.svg",mxUtils.bind(this,function(){var b=this.getCurrentFile();if(null!=b&&…
11793 …50:620,b?70:460,!0,!0,function(b){c.sidebar.hideTooltip();b&&null==c.getCurrentFile()&&c.showSplas…
11803 …tion(){c.spinner.spin(document.body,mxResources.get("loading"))&&c.getPublicUrl(c.getCurrentFile(),
11811 …n(){function b(){null!=d&&d.removeDraft();c.fileLoaded(null)}var d=c.getCurrentFile();null!=d&&d.i…
11813 …s.get("refresh"));c.actions.addAction("upload...",function(){var b=c.getCurrentFile();null!=b&&(wi…
11847 …",mxUtils.bind(this,function(){var b=null!=c.pages&&null!=c.getCurrentFile()?c.getCurrentFile().ge…
11851 c.getCurrentFile();if(0<b.length&&null!=d)try{var e=JSON.parse(b);d.patch([e],null,!0);c.hideDialog…
11856 …ner.spin(document.body,mxResources.get("loading"))&&c.getPublicUrl(c.getCurrentFile(),function(b){…
11859 …function(){var b=c.getCurrentFile();null!=b&&c.spinner.spin(document.body,mxResources.get("loading…
11862 …ner.spin(document.body,mxResources.get("loading"))&&c.getPublicUrl(c.getCurrentFile(),function(p){…
11863 …ner.spin(document.body,mxResources.get("loading"))&&c.getPublicUrl(c.getCurrentFile(),function(l){…
11864 …ner.spin(document.body,mxResources.get("loading"))&&c.getPublicUrl(c.getCurrentFile(),function(l){…
11865 …ner.spin(document.body,mxResources.get("loading"))&&c.getPublicUrl(c.getCurrentFile(),function(b){…
11867 …rams.keepmodified&&(c.editor.modified=!1,c.editor.setStatus(""));b=c.getCurrentFile();null==b||b.c…
11881 mxUtils.bind(this,function(){var b=this.editorUi.getCurrentFile();if(null!=b)if(b.constructor==Loca…
11883 …actions.addAction("makeCopy...",mxUtils.bind(this,function(){var b=c.getCurrentFile();if(null!=b){…
11885 …ons.addAction("moveToFolder...",mxUtils.bind(this,function(){var b=c.getCurrentFile();if(b.getMode…
11887 …=c.getCurrentFile();null!=b&&b.share()}catch(y){c.handleError(y)}}));this.put("embed",new Menu(mxU…
11898 …"",mxResources.get("open"),function(b){null!=b&&0<b.length&&(null==c.getCurrentFile()?window.locat…
11917 …1"!=urlParams.noExitBtn&&this.addMenuItems(b,["exit"],d);else{var e=this.editorUi.getCurrentFile();
11981 …bVisible=function(){return 1==urlParams.embed||null!=this.getCurrentFile()&&this.getCurrentFile().…
11993 …,e,d){if(!mxClient.IS_CHROMEAPP&&!EditorUi.isElectronApp){var c=this.getCurrentFile();if(null!=c&&…
12076 …f.apply(this,arguments);this.menus.get("save").setEnabled(null!=this.getCurrentFile()||"1"==urlPar…
12096 d){var e=c.getCurrentFile();c.menus.addSubmenu("extras",b,d,mxResources.get("preferences"));b.addSe…
12099 …)));this.put("save",new Menu(mxUtils.bind(this,function(b,d){var e=c.getCurrentFile();null!=e&&e.c…
12123 …anged;m.descriptorChanged=function(){v.apply(this,arguments);var b=m.getCurrentFile();if(null!=b&&…
12135 ….firstChild.getAttribute("title"):m.editor.getStatus();fa(b);var c=m.getCurrentFile(),c=null!=c?c.…