This repository was archived by the owner on Apr 22, 2020. It is now read-only.
Description
File 1
function ctiapisetCenter(id)
{
document.getElementById(id).style.display="block";
createFreezeLayer();
$top = $(window).height()/2;
$contop = $("#"+id).innerHeight()/2;
$left = $(window).width()/2;
$conleft = $("#"+id).width()/2;
$("#"+id).css({'top': $top-$contop, 'left': $left-$conleft});
}
$(document).ready(function(){
if($(".selector").length !==0 && typeof $.fn.sortable === "function"){
$( ".selector" ).sortable( "disable" );
}
}
File 2
Territory.showOrHideDelIcon = function(obj, option)
{
$(obj).children('a').eq(0).toggle(option);
};
Territory.getCurrencyObj = function(sampleStr)
{
var currencyDet = {};
currencyDet.format = ',|.';
currencyDet.decimals = 2;
if(User.userDetails.BASE_CURRENCY && User.userDetails.CURRENCY_DETAILS[User.userDetails.BASE_CURRENCY])
{
currencyDet = User.userDetails.CURRENCY_DETAILS[User.userDetails.BASE_CURRENCY];
}
else if(User.userDetails.defaultOrgCurrency)
{
currencyDet.symbol = User.userDetails.defaultOrgCurrency;
}
var quotaPercent,shortPercent;
if(!currencyDet.symbol && sampleStr)
{
sampleStr = sampleStr.trim();
var currency = sampleStr.match(/^.*?(?=[0-9])/);//No I18N
currencyDet.symbol = currency[0];
}
return currencyDet;
Above two are the example code snippets script files after brotli compression. As you can see the functions were not completed.
Reactions are currently unavailable
File 1
File 2
Above two are the example code snippets script files after brotli compression. As you can see the functions were not completed.