projects
/
osm
/
UI.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
RIFT-14856: launchpad UI - Logging - default category severity
[osm/UI.git]
/
skyquake
/
plugins
/
logging
/
src
/
loggingSource.js
diff --git
a/skyquake/plugins/logging/src/loggingSource.js
b/skyquake/plugins/logging/src/loggingSource.js
index
e073809
..
47e6e48
100644
(file)
--- a/
skyquake/plugins/logging/src/loggingSource.js
+++ b/
skyquake/plugins/logging/src/loggingSource.js
@@
-81,14
+81,15
@@
export default {
}
});
promises.push(change);
}
});
promises.push(change);
+ /* Backend bug disallows deleting: RIFT-14910
+
if(nulledCategories.length > 0) {
remove = $.ajax({
if(nulledCategories.length > 0) {
remove = $.ajax({
- url: apiUrl('api/config/default-severity'),
+ // url: apiUrl('api/config/default-severity'),
+ url: apiUrl('api/config/default-syslog-severity'),
type: 'DELETE',
beforeSend: Utils.addAuthorizationStub,
type: 'DELETE',
beforeSend: Utils.addAuthorizationStub,
- data: {
- 'default-severity' : nulledCategories
- },
+ data: nulledCategories,
success: function(data) {
resolve(data);
},
success: function(data) {
resolve(data);
},
@@
-100,6
+101,7
@@
export default {
});
promises.push(remove);
}
});
promises.push(remove);
}
+ */
Promise.all(promises).then(function(data){
Promise.all(promises).then(function(data){