Skip to content

Commit

Permalink
Fix crawler test failure due to unexpected alert
Browse files Browse the repository at this point in the history
  • Loading branch information
labkey-jeckels committed Dec 19, 2023
1 parent eb85dbe commit b7f6de8
Showing 1 changed file with 7 additions and 2 deletions.
9 changes: 7 additions & 2 deletions genotyping/resources/views/illuminaSampleSheetExport.html
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
Ext4.onReady(function(){
var webpart = <%=webpartContext%>;

var pks = LABKEY.ActionURL.getParameterArray('pks');
var pks = LABKEY.ActionURL.getParameterArray('pks') || [];
var schemaName = 'lists';
var queryName = 'Samples';

Expand All @@ -26,7 +26,12 @@
}).render(webpart.wrapperDivId);
}
else {
alert('No rows found')
Ext4.Msg.show({
title:'ERROR',
msg: 'No rows found',
buttons: Ext4.Msg.OK,
icon: Ext4.MessageBox.ERROR
});
}
}
});
Expand Down

0 comments on commit b7f6de8

Please sign in to comment.