Cleanup some ugly code formatting.

This commit is contained in:
Murtuza Zabuawala 2017-03-09 09:27:41 +00:00 committed by Dave Page
parent 18d465e7bc
commit 533833cb02

View File

@ -55,7 +55,7 @@ define(
* otherwise enabled.
*/
query_tool_menu_enabled = function(obj) {
if(!_.isUndefined(obj) && !_.isNull(obj))
if(!_.isUndefined(obj) && !_.isNull(obj)) {
if(_.indexOf(unsupported_nodes, obj._type) == -1) {
if (obj._type == 'database' && obj.allowConn)
return true;
@ -63,9 +63,12 @@ define(
return true;
else
return false;
} else {
return false;
}
else
} else {
return false;
}
};
// Define the nodes on which the menus to be appear