Skip to content

Commit e44bcf6

Browse files
committed
version 1.0.12 released
1 parent 444cd11 commit e44bcf6

89 files changed

Lines changed: 4480 additions & 8949 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

assets/css/cbxscratingreview-admin.css

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

assets/css/cbxscratingreview-builder.css

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

assets/css/cbxscratingreview-dashboard.css

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

assets/css/cbxscratingreview-email-manager.css

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

assets/css/cbxscratingreview-public.css

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

assets/css/cbxscratingreview-setting.css

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

assets/js/build/FileUpload.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

assets/js/build/cbxscratingreviewfrontlog.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

assets/js/build/cbxscratingreviewlog.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

assets/js/vanila/cbxscratingreview-admin.js

Lines changed: 0 additions & 92 deletions
Original file line numberDiff line numberDiff line change
@@ -71,98 +71,6 @@
7171
});
7272
});
7373
//end review listing comment details popup using sweetalert
74-
75-
// in review edit view trigger rating
76-
/*let $form = $('.cbxscratingreview-review-edit-form');
77-
$form.find('.cbxscratingreview_rating_trigger').cbxscratingreview_raty({
78-
cancelHint : cbxscratingreview_admin.rating.cancelHint,
79-
hints : cbxscratingreview_admin.rating.hints,
80-
noRatedMsg : cbxscratingreview_admin.rating.noRatedMsg,
81-
//starType : 'img',
82-
starType : 'img',
83-
starHalf : cbxscratingreview_admin.rating.img_path + 'star-half.png', // The name of the half star image.
84-
starOff : cbxscratingreview_admin.rating.img_path + 'star-off.png', // Name of the star image off.
85-
starOn : cbxscratingreview_admin.rating.img_path + 'star-on.png', // Name of the star image on.
86-
half : true,
87-
halfShow : true,
88-
targetScore: $form.find('.cbxscratingreview_rating_score')
89-
});
90-
*/
91-
92-
93-
/*let $cbxscratingreview_review_readonly_section = $('.cbxscratingreview-review-readonly-section');
94-
$cbxscratingreview_review_readonly_section.find('.cbxscratingreview-btn-review-delete').on('click', function (e) {
95-
e.preventDefault();
96-
97-
let $this = $(this);
98-
let $review_id = $this.data('review_id');
99-
100-
$.ajax({
101-
type : "post",
102-
dataType: 'json',
103-
url : cbxscratingreview_admin.ajaxurl,
104-
data : {
105-
action : "cbxscratingreview_review_delete_process",
106-
security : cbxscratingreview_admin.nonce,
107-
review_id: $review_id,
108-
},
109-
success : function (data) {
110-
if (data.process_status == 1) {
111-
alert(data.success_msg);
112-
window.location = data.redirect_url;
113-
} else {
114-
let $err_msg = '<p class="cbxscratingreview-alert cbxscratingreview-alert-warning">' + data.error_msg + '</p>';
115-
$cbxscratingreview_review_readonly_section.find('.cbxscratingreview_review_readonly_global_msg').html($err_msg);
116-
}
117-
},
118-
});
119-
});*/
120-
121-
//flatpickr enable for review submission
122-
/*$form.find(".cbxscratingreview_review_date_flatpicker").flatpickr({
123-
dateFormat: 'Y-m-d',
124-
});*/
125-
126-
127-
// delete single photo
128-
/*$cbxscratingreview_review_readonly_section.on('click', 'a.cbxscratingreview_review_photo_delete', function (e) {
129-
e.preventDefault();
130-
let $this = $(this);
131-
132-
let $review_id = $this.data('review_id');
133-
let $filename = $this.data('name');
134-
135-
let request = $.ajax({
136-
url : cbxscratingreview_admin.ajaxurl,
137-
type : 'post',
138-
data : {
139-
action : "file_delete_process_admin",
140-
security : cbxscratingreview_admin.nonce,
141-
filename : $filename, //only input
142-
review_id: $review_id, //only input
143-
},
144-
dataType: 'json',
145-
});
146-
147-
request.done(function (data) {
148-
if (data.ok_to_progress == 1) {
149-
$this.parent('.cbxscratingreview_review_photo').fadeOut("slow", function () {
150-
$this.parent('.cbxscratingreview_review_photo').remove();
151-
});
152-
} else {
153-
let $err_msg = '<p class="cbxscratingreview-alert cbxscratingreview-alert-warning">' + data.error_msg + '</p>';
154-
$cbxscratingreview_review_readonly_section.find('.cbxscratingreview_review_readonly_global_msg').html($err_msg);
155-
}
156-
});
157-
158-
request.fail(function () {
159-
alert(cbxscratingreview_admin.delete_error);
160-
});
161-
162-
return false;
163-
});*/
164-
165-
16674
});
16775

16876
})(jQuery);

0 commit comments

Comments
 (0)