Subversion Repositories SmartDukaan

Rev

Rev 34987 | Rev 35458 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 34987 Rev 35001
Line 755... Line 755...
755
			'    align-items: center;\n' +
755
			'    align-items: center;\n' +
756
			'    font-size: 1.5rem;\n' +
756
			'    font-size: 1.5rem;\n' +
757
			'    font-weight: 200;\n' +
757
			'    font-weight: 200;\n' +
758
			'    color: #555;" >Loading...</div>');
758
			'    color: #555;" >Loading...</div>');
759
 
759
 
760
		doGetAjaxRequestHandler(context + "/dashboardModal", function (response, status, xhr) {
760
		doGetAjaxRequestHandler(context + "/dashboardModal", function (response, status) {
761
			if (xhr.status === 500) {
761
			if (status === 500) {
762
				// Do nothing or show optional toast
-
 
763
				return;
762
				return;
764
			}
763
			}
765
			$('#chartData').html(response);
764
			$('#chartData').html(response);
766
			$('#partnerTasks').css('zoom', '125%').modal('show');
765
			$('#partnerTasks').css('zoom', '125%').modal('show');
767
		});
766
		});