Commit e6e4c489 by Bence Dányi

firewall_gui: format code

parent 3ed3adb8
......@@ -228,7 +228,7 @@ function ListController(url) {
$scope.deleteEntity = function(id) {
$.ajax({
url: url.split('/')[2]+'/'+id+'/delete/',
url: url.split('/')[2] + '/' + id + '/delete/',
type: 'post',
success: reloadList
});
......@@ -307,6 +307,7 @@ function EntityController(url, init) {
}
})
}
function reloadEntity() {
$http.get(url + id + '/').success(function success(data) {
$scope.entity = data;
......
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 sign in to comment