Fixed issue with matching wild card
This commit is contained in:
@@ -35,6 +35,12 @@ app.host = (function(app){
|
||||
});
|
||||
}
|
||||
|
||||
function clearCache(callack){
|
||||
app.api.delete('host/cache', function(error, data){
|
||||
callack(error, data);
|
||||
});
|
||||
}
|
||||
|
||||
return {
|
||||
getCert,
|
||||
list: list,
|
||||
@@ -42,5 +48,6 @@ app.host = (function(app){
|
||||
add: add,
|
||||
edit: edit,
|
||||
remove: remove,
|
||||
clearCache: clearCache,
|
||||
}
|
||||
})(app);
|
||||
|
||||
@@ -415,7 +415,7 @@ function formAJAX(btn){
|
||||
var method = ($form.attr('method') || 'post').toLowerCase();
|
||||
|
||||
if($form.validate && !$form.validate()){
|
||||
app.util.actionMessage('Please fix the form errors.', $form, 'danger')
|
||||
app.util.actionMessage('Please fix the form errors.', $form, 'danger');
|
||||
return false;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user