Skip to content
Snippets Groups Projects
Commit 049bbb6a authored by Shirin Abdo's avatar Shirin Abdo
Browse files

CO[Projekt: Entwicklung - Neon][TicketNr.: 1070141][ADITO Offline Slave Verwaltung]

parent 9c03ce75
No related branches found
No related tags found
No related merge requests found
import("Util_lib");
import("system.translate");
import("OfflineClientSync_lib");
import("system.question");
......@@ -9,7 +10,7 @@ if (vars.get("$sys.operatingstate") == neon.OPERATINGSTATE_EDIT || vars.get("$sy
{
var licenseID = "";
var binData = vars.get("$field.bindata");
if (binData != "" && binData != null )
if (!Utils.isNullOrEmpty(binData))
{
licenseID = OfflineClientSyncUtils.getIDFromLicense(binData);
vars.set("$field.SLAVEUID", licenseID);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment