mirror of
https://github.com/jokob-sk/NetAlertX.git
synced 2025-12-07 09:36:05 -08:00
FE: prevent error on no devices selected #1219
Signed-off-by: jokob-sk <jokob.sk@gmail.com>
This commit is contained in:
@@ -340,9 +340,14 @@
|
||||
console.log(columnValue);
|
||||
|
||||
// update selected
|
||||
executeAction('update', 'devMac', selectorMacs(), targetColumns, columnValue )
|
||||
|
||||
|
||||
if(selectorMacs() != "")
|
||||
{
|
||||
executeAction('update', 'devMac', selectorMacs(), targetColumns, columnValue )
|
||||
}
|
||||
else
|
||||
{
|
||||
showModalWarning(getString("Gen_Error"), getString('Device_MultiEdit_No_Devices'));
|
||||
}
|
||||
}
|
||||
|
||||
// -----------------------------------------------------------------------------
|
||||
|
||||
Reference in New Issue
Block a user