projects
/
osm
/
LW-UI.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
fix wrong url
[osm/LW-UI.git]
/
static
/
src
/
instancehandler
/
instance_list.js
diff --git
a/static/src/instancehandler/instance_list.js
b/static/src/instancehandler/instance_list.js
index
af66f16
..
47d4957
100644
(file)
--- a/
static/src/instancehandler/instance_list.js
+++ b/
static/src/instancehandler/instance_list.js
@@
-19,9
+19,11
@@
function performAction(url) {
$('#modal_instance_new_action').modal('show');
}
$('#modal_instance_new_action').modal('show');
}
-function deleteNs(url) {
+function deleteNs(url
, force
) {
bootbox.confirm("Are you sure want to delete?", function (result) {
if (result) {
bootbox.confirm("Are you sure want to delete?", function (result) {
if (result) {
+ if(force)
+ url = url + '?force=true';
location.href = url
}
})
location.href = url
}
})