Attention une mise à jour du serveur va être effectuée le lundi 17 mai entre 13h et 13h30. Cette mise à jour va générer une interruption du service de quelques minutes.

Commit 03f769a8 authored by marc duez's avatar marc duez

url.js : disable url updates for local files

parent aaa993c7
......@@ -116,7 +116,7 @@ Model_loader.prototype = {
self.dataFileName = document.getElementById(id)
.files[0].name;
self.check_export_monitor()
self.file_source = "local";
}
},
......@@ -201,6 +201,7 @@ Model_loader.prototype = {
self.update_selected_system()
self.dataFileName = url_split[url_split.length-1]
self.check_export_monitor()
self.file_source = "database";
// self.applyUrlParams(paramsDict);
callback()
......
......@@ -13,6 +13,12 @@ function Url(model, win) {
Url.prototype= {
update: function () {
//keep url up to date only for database file
if (this.m.file_source != "database") {
this.clean();
return;
}
// get selected clones
var selectedList = this.m.getSelected();
var params_dict = this.url_dict;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment