Subversion Repositories SmartDukaan

Rev

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

Rev 25421 Rev 25422
Line 119... Line 119...
119
		doGetAjaxRequestHandler(context + "/content/media?entityId=" + entityId, function(response) {
119
		doGetAjaxRequestHandler(context + "/content/media?entityId=" + entityId, function(response) {
120
			debugger;
120
			debugger;
121
			if(response){
121
			if(response){
122
				response = JSON.parse(response);
122
				response = JSON.parse(response);
123
				var image_holder = $("#image-holder");
123
				var image_holder = $("#image-holder");
124
				response.mediaPojos.forEach(function(index, value){
124
				response.mediaPojos.forEach(function(value, index){
125
					var checked = index==response.defaultImageIndex;
125
					var checked = index==response.defaultImageIndex;
126
					var divObj = 
126
					var divObj = 
127
					$(`<div class="thumb-image-container">
127
					$(`<div class="thumb-image-container">
128
						<div class="radio">
128
						<div class="radio">
129
					  		<label>
129
					  		<label>