|
@@ -287,11 +287,11 @@ $("#send_slide").click(function () {
|
|
|
xhr.onreadystatechange = function () {
|
|
|
if (xhr.readyState === 4) {
|
|
|
let title = "資料已送出";
|
|
|
- let text = '資料已傳送,請耐心等候';
|
|
|
- if (lang == 'en') { // 英文版訊息
|
|
|
- title = "Submitted Successfully!";
|
|
|
- text = 'We are working on your video. You will get notfication in line group when your video is done.';
|
|
|
- }
|
|
|
+ let text = '資料已傳送,請耐心等候';
|
|
|
+ if (lang == 'en') { // 英文版訊息
|
|
|
+ title = "Submitted Successfully!";
|
|
|
+ text = 'We are working on your video. You will get notfication in line group when your video is done.';
|
|
|
+ }
|
|
|
Swal.fire({
|
|
|
title: title,
|
|
|
icon: 'success',
|
|
@@ -648,7 +648,14 @@ $('.owl-carousel').owlCarousel({
|
|
|
});
|
|
|
|
|
|
$('.draft-btn').click(() => {
|
|
|
- $('.draft-btn').text('Loading...');
|
|
|
+ let text = '儲存中...';
|
|
|
+
|
|
|
+ if (lang == 'en') {
|
|
|
+ text = 'Saving...';
|
|
|
+ }
|
|
|
+
|
|
|
+ $('.draft-btn').text(text);
|
|
|
+
|
|
|
let jwt_token = get_jwt_token();
|
|
|
let avatar = $('.avatar').val();
|
|
|
let name_title = $('.title_new').val();
|