Skip to content
Snippets Groups Projects
Commit 4f21705d authored by H.Boesl's avatar H.Boesl
Browse files

code review

parent 8a906ef5
No related branches found
No related tags found
No related merge requests found
......@@ -30,8 +30,7 @@ if (recordstate == neon.OPERATINGSTATE_NEW || recordstate == neon.OPERATINGSTATE
case "TELEPHONE": // Phone
if(addr.length > 5)
{
var formatted = cti.formatPhoneNumber(addr, true, vars.get("$param.ContactsMainCountry_param"))
result.string(cti.formatPhoneNumber(addr, true, vars.get("$param.ContactsMainCountry_param")))
result.string(cti.formatPhoneNumber(addr, true, vars.get("$param.ContactsMainCountry_param")));
}
break;
default:
......
......@@ -33,22 +33,22 @@ if (operation)
function createBlob (path, filename)
{
_writeBlob(path + filename + ".0")
_writeBlob(path + filename )
}
function deleteBlob (path, filename)
{
fileIO.remove(path + filename + ".0");
fileIO.remove(path + filename );
}
function updateBlob (path, filename)
{
_writeBlob(path + filename + ".0");
_writeBlob(path + filename );
}
function readBlob (path, filename)
{
var fullPath = path + filename + ".0";
var fullPath = path + filename;
var fromWhereCond = " from ASYS_BINARIES where ID = '" + filename + "'";
sqlHelper = new SqlMaskingUtils();
......
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