Skip to content
This repository was archived by the owner on Apr 22, 2020. It is now read-only.
This repository was archived by the owner on Apr 22, 2020. It is now read-only.

Response incomplete #27

Description

@barathibalamurugan

screenshot 2019-01-30 at 5 46 10 am

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions