Skip to content

Commit b73c29e

Browse files
committed
Export all in preview displayed wrong message
1 parent d5d1d2a commit b73c29e

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

  • src/Presentation/SmartStore.Web/Administration/Views/Export

src/Presentation/SmartStore.Web/Administration/Views/Export/Preview.cshtml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -41,10 +41,10 @@
4141
$('#ExportAll, #ExportSelected').click(function (e) {
4242
e.preventDefault();
4343
var form = $('#ProfileExportForm'),
44-
exportAll = $(this).attr('name') === 'ExportAll';
44+
exportAll = $(this).attr('id') === 'ExportAll';
4545
4646
if (!exportAll && selectedIds.length === 0) {
47-
EventBroker.publish("message", { title: '@T("Admin.Common.NoEntriesSelected")', type: 'warning' });
47+
displayNotification('@T("Admin.Common.NoEntriesSelected")', 'warning');
4848
return false;
4949
}
5050

0 commit comments

Comments
 (0)