Skip to content
This repository has been archived by the owner on Mar 17, 2020. It is now read-only.

Fixed no alert display when no relay point selected #10

Closed
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions js/mondialrelay.js
Original file line number Diff line number Diff line change
Expand Up @@ -605,6 +605,12 @@ var PS_MRObject = (function($, undefined) {
alert(PS_MRTranslationList['errorSelection']);
return false;
}
// No relay point selected yet
if (PS_MRSelectedRelayPoint['relayPointNum'] == -1)
{
alert(PS_MRTranslationList['errorSelection']);
return false;
}
return true;
}

Expand Down