Эх сурвалжийг харах

Added fsh close handler in File Manager

Toby Chui 3 жил өмнө
parent
commit
0087258b13

+ 7 - 0
web/SystemAO/file_system/file_explorer.html

@@ -2466,6 +2466,13 @@
                                     window.location.reload();
                                 });
                                 return;
+                            }else if (data.error == "Unable to resolve target directory"){
+                                //Resolve failed. Back to user:/
+                                var pdir = currentPath.split("/");
+                                pdir = pdir.shift() + "/";
+                                listDirectory(pdir, function(){
+                                    window.location.reload();
+                                });
                             }
                         }
                         callback(data);