Fix reload page on file editor

This commit is contained in:
Lucio Maranta
2019-08-22 12:44:37 +02:00
parent f708b43cc0
commit af3eabbbc2
3 changed files with 5 additions and 6 deletions
+1
View File
@@ -793,6 +793,7 @@ namespace Active_Client.Browser_Tools
#endregion FILESYSTEM_METHODS
///////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
#region RECALL_METHOD
private static void CallJSFunction(CfrV8Value functionIstance, string arguments, CfrV8Context context)
@@ -113,6 +113,7 @@ export default class ModalLoadProgram extends Vue {
this.currentFilterSecond = "";
}
this.calcBreadCrumb(absolutePath);
this.cleanFileWatcher();
}
fillArray(destinationArray: Array<any>, sourceArray: Array<any>) {
@@ -244,7 +245,7 @@ export default class ModalLoadProgram extends Vue {
await awaiter(fileService.getFileInfo(str)));
this.currentPath = this.selectedFile.AbsolutePath.substring(0,this.selectedFile.AbsolutePath.lastIndexOf("\\"));
this.cleanFileWatcher();
}
beforeMount() {
@@ -319,8 +320,6 @@ export default class ModalLoadProgram extends Vue {
this.uploadAllFileInFolder = !this.uploadAllFileInFolder;
}
async cleanTempfolder(){
await awaiter(fileService.cleanTempFolder());
await awaiter (fileService.isTempFolderOK().then(response => {
@@ -103,11 +103,10 @@
<!-- <card-folder-path name="Cliente A" @click="selectItem()" :with-arrow="false"></card-folder-path>-->
</div>
</div>
<div class="selected-item" :class="{blur:fileIsChanged}" v-if="selectedFile">
<div class="selected-item-header" :class="{blur:fileIsChanged}">
<div class="selected-item" :class="{blur: fileIsChanged}" v-if="selectedFile">
<div class="selected-item-header" :class="{blur: fileIsChanged}">
<div>
<label class="selected-item-title">{{selectedFile.Name}}</label>
<div class="subtitle">
<label
class="title"