????
Current Path : /home/thenclexdoctor.com/public_html/public/assets/default/js/admin/ |
Current File : /home/thenclexdoctor.com/public_html/public/assets/default/js/admin/reviews.min.js |
(function ($) { "use strict"; $('body').on('click', '.js-show-review-details', function (e) { e.preventDefault(); var $this = $(this); var parent = $this.closest('td'); var items = ['content_quality', 'instructor_skills', 'purchase_worth', 'support_quality']; var $modal = $('#reviewRateDetail'); for (var _i = 0, _items = items; _i < _items.length; _i++) { var item = _items[_i]; var value = parent.find('.js-' + item).val(); $modal.find('.js-' + item).text(value); } $modal.modal('show'); }); $('body').on('click', '.js-show-product-review-details', function (e) { e.preventDefault(); var $this = $(this); var parent = $this.closest('td'); var items = ['product_quality', 'purchase_worth', 'delivery_quality', 'seller_quality']; var $modal = $('#reviewRateDetail'); for (var _i2 = 0, _items2 = items; _i2 < _items2.length; _i2++) { var item = _items2[_i2]; var value = parent.find('.js-' + item).val(); $modal.find('.js-' + item).text(value); } $modal.modal('show'); }); $('body').on('click', '.js-show-description', function (e) { e.preventDefault(); var message = $(this).parent().find('input[type="hidden"]').val(); var $modal = $('#contactMessage'); $modal.find('.modal-body').html(message); $modal.modal('show'); }); })(jQuery);
Sorry, this page is not available...