mirror of
https://github.com/YunoHost/yunohost-admin.git
synced 2024-09-03 20:06:15 +02:00
Fix --force usage
This commit is contained in:
parent
dbf8c8af85
commit
2a41bee642
1 changed files with 2 additions and 2 deletions
|
@ -43,7 +43,7 @@
|
|||
c.view('diagnosis/diagnosis_show', data, function() {
|
||||
$(".rerun-diagnosis").click(function() {
|
||||
var category = $(this).attr("category");
|
||||
c.api('/diagnosis/run', function(data) {
|
||||
c.api('/diagnosis/run?force', function(data) {
|
||||
// This is a copy-pasta of some of the
|
||||
// redirect/refresh code of sammy.js
|
||||
// because for some reason calling the function did not work >.>
|
||||
|
@ -52,7 +52,7 @@
|
|||
c.app.last_location = c.path;
|
||||
c.app.setLocation(to);
|
||||
c.app.trigger('location-changed');
|
||||
}, 'POST', {"categories": [category], "force":true});
|
||||
}, 'POST', {"categories": [category]});
|
||||
});
|
||||
});
|
||||
}, 'GET');
|
||||
|
|
Loading…
Reference in a new issue