Skip to content

Commit

Permalink
Issue #140 - Fedora 24: Bug when try to rename multiple debug reports
Browse files Browse the repository at this point in the history
Edited gingerbase.host-dashboard.js initReportGrid function to disable
Rename button when the user selects more than one checkbox option.
Button was only disabled in the css before, now it's also disabled when
user clicks in it.

Signed-off-by: Bianca Carvalho <bianca@linux.vnet.ibm.com>
  • Loading branch information
Bianca Carvalho authored and danielhb committed Oct 27, 2016
1 parent 8d6e73a commit 6ace0b0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ui/js/src/gingerbase.host-dashboard.js
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ gingerbase.init_dashboard = function() {
disabled: true,
onClick: function(event) {
var report = reportGrid.getSelected();
if (!report) {
if (!report || report.length > 1){
return;
}
gingerbase.selectedReport = report[0]['name'];
Expand Down

0 comments on commit 6ace0b0

Please sign in to comment.