質問編集履歴
1
文章の修正
title
CHANGED
|
File without changes
|
body
CHANGED
|
@@ -11,13 +11,13 @@
|
|
|
11
11
|
maxContents = 3;
|
|
12
12
|
if (stickID == 'pc') {
|
|
13
13
|
if (single.length >= maxContents) {
|
|
14
|
-
alert('
|
|
14
|
+
alert('登録は' + maxContents + '個までです');
|
|
15
15
|
return false;
|
|
16
16
|
}
|
|
17
17
|
}
|
|
18
18
|
maxContents = 20;
|
|
19
19
|
if (single.length >= maxContents) {
|
|
20
|
-
alert('
|
|
20
|
+
alert('登録は' + maxContents + '個までです');
|
|
21
21
|
return false;
|
|
22
22
|
}
|
|
23
23
|
var condObj = new Object();
|
|
@@ -40,11 +40,11 @@
|
|
|
40
40
|
var thumbUrl = jsonData.data.ImageFileName;
|
|
41
41
|
if( item.ThumbPath ) thumbUrl = item.ThumbPath;
|
|
42
42
|
tag += '<div class="single-video" id="single-play-video' + jsonData.data.SettingNo + '">';
|
|
43
|
-
tag += '<h5>' + jsonData.data.Title + ' <a class="delete" href="javascript:void(0);" onclick="deleteSetting(\'' + jsonData.data.SettingNo + '\',\'' +
|
|
44
|
-
tag += '<a href="javascript:void(0);" class="forward-btn" onclick="forwardCategory(' + jsonData.data.SettingNo + ',\'' +
|
|
45
|
-
tag += '<a href="javascript:void(0);" data-toggle="modal" data-target="#video-modal" onclick="showCategoryDetail(\'' +
|
|
46
|
-
tag += '<a href="javascript:void(0);" data-toggle="modal" data-target="#video-modal" onclick="showCategoryDetail(\'' +
|
|
47
|
-
tag += '<a href="javascript:void(0);" class="backward-btn"><img src="img/backward.jpg" alt="" onclick="backCategory(' + jsonData.data.SettingNo + ',\''+
|
|
43
|
+
tag += '<h5>' + jsonData.data.Title + ' <a class="delete" href="javascript:void(0);" onclick="deleteSetting(\'' + jsonData.data.SettingNo + '\',\'' + ID + '\');">削除</a></h5>';
|
|
44
|
+
tag += '<a href="javascript:void(0);" class="forward-btn" onclick="forwardCategory(' + jsonData.data.SettingNo + ',\'' + ID + '\');"><img src="img/forward.jpg" alt=""></a>';
|
|
45
|
+
tag += '<a href="javascript:void(0);" data-toggle="modal" data-target="#video-modal" onclick="showCategoryDetail(\'' + sID + '\',\'' + ID + '\',1);">' + '<img class="img-responsive" src="' + thumbUrl + '" alt="" onerror="this.src=\'img/video-pic.jpg\';">' + '</a>';
|
|
46
|
+
tag += '<a href="javascript:void(0);" data-toggle="modal" data-target="#video-modal" onclick="showCategoryDetail(\'' + sID + '\',\'' + ID + '\',1);">' + item.Title + '</a>';
|
|
47
|
+
tag += '<a href="javascript:void(0);" class="backward-btn"><img src="img/backward.jpg" alt="" onclick="backCategory(' + jsonData.data.SettingNo + ',\''+D+'\');"></a>';
|
|
48
48
|
tag += '</div>';
|
|
49
49
|
$("#play-video").append(tag);
|
|
50
50
|
adjstSettingListButton();
|