update dependencies: jQuery, jQuery UI, jQuery Validate, jQuery Validate Unobtrusive, SignalR
This commit is contained in:
@@ -76,10 +76,10 @@
|
||||
});
|
||||
}
|
||||
function renderComment(c, quick, canRemove) {
|
||||
let t = '<div><span class="author" />';
|
||||
let t = '<div><span class="author"></span>';
|
||||
if (canRemove)
|
||||
t += '<span class="remove fa fa-times-circle" />';
|
||||
t += '<span class="timestamp" /><div class="comment" /></div>';
|
||||
t += '<span class="remove fa fa-times-circle"></span>';
|
||||
t += '<span class="timestamp"></span><div class="comment"></div></div>';
|
||||
|
||||
const e = $(t);
|
||||
e.attr('data-commentid', c.Id);
|
||||
|
||||
@@ -336,21 +336,21 @@ WriteLiteral(" </div>\r\n</div>\r\n<script>\r\n if (!document.DiscoFunctio
|
||||
"unction () {\r\n const $this = $(this);\r\n $this.find" +
|
||||
"(\'.timestamp\').livestamp(\'destroy\');\r\n $this.remove();\r\n " +
|
||||
" });\r\n }\r\n function renderComment(c, quick, canRemove) {\r\n " +
|
||||
" let t = \'<div><span class=\"author\" />\';\r\n if (canRemove)\r\n " +
|
||||
" t += \'<span class=\"remove fa fa-times-circle\" />\';\r\n t += " +
|
||||
"\'<span class=\"timestamp\" /><div class=\"comment\" /></div>\';\r\n\r\n const " +
|
||||
"e = $(t);\r\n e.attr(\'data-commentid\', c.Id);\r\n e.find(\'.aut" +
|
||||
"hor\').text(c.Author);\r\n e.find(\'.timestamp\').text(c.TimestampFull).at" +
|
||||
"tr(\'title\', c.TimestampFull).livestamp(c.TimestampUnixEpoc);\r\n e.find" +
|
||||
"(\'.comment\').html(c.HtmlComments);\r\n\r\n $commentOutput.append(e);\r\n\r\n " +
|
||||
" if (!quick) {\r\n e.animate({ backgroundColor: \'#ffff99\'" +
|
||||
" }, 500, function () {\r\n e.animate({ backgroundColor: \'#fafaf" +
|
||||
"a\' }, 500, function () {\r\n e.css(\'background-color\', \'\');" +
|
||||
"\r\n });\r\n });\r\n $commentOutput.a" +
|
||||
"nimate({ scrollTop: $commentOutput[0].scrollHeight }, 250)\r\n }\r\n " +
|
||||
" }\r\n\r\n document.DiscoFunctions.onCommentAdded = onCommentAdded;\r\n " +
|
||||
" document.DiscoFunctions.onCommentRemoved = onCommentRemoved;\r\n });\r\n</scrip" +
|
||||
"t>\r\n");
|
||||
" let t = \'<div><span class=\"author\"></span>\';\r\n if (canRemove)\r\n" +
|
||||
" t += \'<span class=\"remove fa fa-times-circle\"></span>\';\r\n " +
|
||||
" t += \'<span class=\"timestamp\"></span><div class=\"comment\"></div></div>\';\r\n\r" +
|
||||
"\n const e = $(t);\r\n e.attr(\'data-commentid\', c.Id);\r\n " +
|
||||
" e.find(\'.author\').text(c.Author);\r\n e.find(\'.timestamp\').text(" +
|
||||
"c.TimestampFull).attr(\'title\', c.TimestampFull).livestamp(c.TimestampUnixEpoc);\r" +
|
||||
"\n e.find(\'.comment\').html(c.HtmlComments);\r\n\r\n $commentOut" +
|
||||
"put.append(e);\r\n\r\n if (!quick) {\r\n e.animate({ backgro" +
|
||||
"undColor: \'#ffff99\' }, 500, function () {\r\n e.animate({ backg" +
|
||||
"roundColor: \'#fafafa\' }, 500, function () {\r\n e.css(\'back" +
|
||||
"ground-color\', \'\');\r\n });\r\n });\r\n " +
|
||||
" $commentOutput.animate({ scrollTop: $commentOutput[0].scrollHeight }, 250)\r\n " +
|
||||
" }\r\n }\r\n\r\n document.DiscoFunctions.onCommentAdded = onCo" +
|
||||
"mmentAdded;\r\n document.DiscoFunctions.onCommentRemoved = onCommentRemoved" +
|
||||
";\r\n });\r\n</script>\r\n");
|
||||
|
||||
|
||||
#line 106 "..\..\Views\Device\DeviceParts\_Comments.cshtml"
|
||||
|
||||
@@ -248,10 +248,10 @@
|
||||
});
|
||||
}
|
||||
function addComment(c, quick, canRemove) {
|
||||
let t = '<div><span class="author" />';
|
||||
let t = '<div><span class="author"></span>';
|
||||
if (canRemove)
|
||||
t += '<span class="remove fa fa-times-circle" />';
|
||||
t += '<span class="timestamp" /><div class="comment" /></div>';
|
||||
t += '<span class="remove fa fa-times-circle"></span>';
|
||||
t += '<span class="timestamp"></span><div class="comment"></div></div>';
|
||||
|
||||
const e = $(t);
|
||||
e.attr('data-logid', c.Id);
|
||||
|
||||
@@ -933,24 +933,24 @@ WriteLiteral("\r\n async function loadLiveComment(id) {\r\n\r\n
|
||||
"300).queue(function () {\r\n const $this = $(this);\r\n " +
|
||||
" $this.find(\'.timestamp\').livestamp(\'destroy\');\r\n $t" +
|
||||
"his.remove();\r\n });\r\n }\r\n function addComme" +
|
||||
"nt(c, quick, canRemove) {\r\n let t = \'<div><span class=\"author\" />" +
|
||||
"\';\r\n if (canRemove)\r\n t += \'<span class=\"remov" +
|
||||
"e fa fa-times-circle\" />\';\r\n t += \'<span class=\"timestamp\" /><div" +
|
||||
" class=\"comment\" /></div>\';\r\n\r\n const e = $(t);\r\n " +
|
||||
"e.attr(\'data-logid\', c.Id);\r\n e.find(\'.author\').text(c.Author);\r\n" +
|
||||
" e.find(\'.timestamp\').text(c.TimestampFull).attr(\'title\', c.Times" +
|
||||
"tampFull).livestamp(c.TimestampUnixEpoc);\r\n e.find(\'.comment\').ht" +
|
||||
"ml(c.HtmlComments);\r\n\r\n $CommentOutput.append(e);\r\n\r\n " +
|
||||
" if (!quick) {\r\n e.animate({ backgroundColor: \'#ffff99\' }," +
|
||||
" 500, function () {\r\n e.animate({ backgroundColor: \'#fafa" +
|
||||
"fa\' }, 500, function () {\r\n e.css(\'background-color\'," +
|
||||
" \'\');\r\n });\r\n });\r\n " +
|
||||
" $CommentOutput.animate({ scrollTop: $CommentOutput[0].scrollHeight }, 250)\r\n " +
|
||||
" }\r\n }\r\n\r\n // Add Globally Available Functions" +
|
||||
"\r\n document.DiscoFunctions.liveLoadComment = function (id) {\r\n " +
|
||||
" loadLiveComment(id);\r\n };\r\n document.DiscoFunctio" +
|
||||
"ns.liveRemoveComment = liveRemoveComment;\r\n //#endregion\r\n });" +
|
||||
"\r\n </script>\r\n");
|
||||
"nt(c, quick, canRemove) {\r\n let t = \'<div><span class=\"author\"></" +
|
||||
"span>\';\r\n if (canRemove)\r\n t += \'<span class=\"" +
|
||||
"remove fa fa-times-circle\"></span>\';\r\n t += \'<span class=\"timesta" +
|
||||
"mp\"></span><div class=\"comment\"></div></div>\';\r\n\r\n const e = $(t)" +
|
||||
";\r\n e.attr(\'data-logid\', c.Id);\r\n e.find(\'.author\'" +
|
||||
").text(c.Author);\r\n e.find(\'.timestamp\').text(c.TimestampFull).at" +
|
||||
"tr(\'title\', c.TimestampFull).livestamp(c.TimestampUnixEpoc);\r\n e." +
|
||||
"find(\'.comment\').html(c.HtmlComments);\r\n\r\n $CommentOutput.append(" +
|
||||
"e);\r\n\r\n if (!quick) {\r\n e.animate({ background" +
|
||||
"Color: \'#ffff99\' }, 500, function () {\r\n e.animate({ back" +
|
||||
"groundColor: \'#fafafa\' }, 500, function () {\r\n e.css(" +
|
||||
"\'background-color\', \'\');\r\n });\r\n });\r\n" +
|
||||
" $CommentOutput.animate({ scrollTop: $CommentOutput[0].scroll" +
|
||||
"Height }, 250)\r\n }\r\n }\r\n\r\n // Add Globally " +
|
||||
"Available Functions\r\n document.DiscoFunctions.liveLoadComment = funct" +
|
||||
"ion (id) {\r\n loadLiveComment(id);\r\n };\r\n do" +
|
||||
"cument.DiscoFunctions.liveRemoveComment = liveRemoveComment;\r\n //#end" +
|
||||
"region\r\n });\r\n </script>\r\n");
|
||||
|
||||
|
||||
#line 282 "..\..\Views\Job\JobParts\Resources.cshtml"
|
||||
|
||||
@@ -76,10 +76,10 @@
|
||||
});
|
||||
}
|
||||
function renderComment(c, quick, canRemove) {
|
||||
let t = '<div><span class="author" />';
|
||||
let t = '<div><span class="author"></span>';
|
||||
if (canRemove)
|
||||
t += '<span class="remove fa fa-times-circle" />';
|
||||
t += '<span class="timestamp" /><div class="comment" /></div>';
|
||||
t += '<span class="remove fa fa-times-circle"></span>';
|
||||
t += '<span class="timestamp"></span><div class="comment"></div></div>';
|
||||
|
||||
const e = $(t);
|
||||
e.attr('data-commentid', c.Id);
|
||||
|
||||
@@ -336,21 +336,21 @@ WriteLiteral(" </div>\r\n</div>\r\n<script>\r\n if (!document.DiscoFunctio
|
||||
"ion () {\r\n const $this = $(this);\r\n $this.find(\'.t" +
|
||||
"imestamp\').livestamp(\'destroy\');\r\n $this.remove();\r\n }" +
|
||||
");\r\n }\r\n function renderComment(c, quick, canRemove) {\r\n " +
|
||||
" let t = \'<div><span class=\"author\" />\';\r\n if (canRemove)\r\n " +
|
||||
" t += \'<span class=\"remove fa fa-times-circle\" />\';\r\n t += \'<sp" +
|
||||
"an class=\"timestamp\" /><div class=\"comment\" /></div>\';\r\n\r\n const e = " +
|
||||
"$(t);\r\n e.attr(\'data-commentid\', c.Id);\r\n e.find(\'.author\'" +
|
||||
").text(c.Author);\r\n e.find(\'.timestamp\').text(c.TimestampFull).attr(\'" +
|
||||
"title\', c.TimestampFull).livestamp(c.TimestampUnixEpoc);\r\n e.find(\'.c" +
|
||||
"omment\').html(c.HtmlComments);\r\n\r\n $commentOutput.append(e);\r\n\r\n " +
|
||||
" if (!quick) {\r\n e.animate({ backgroundColor: \'#ffff99\' }, " +
|
||||
"500, function () {\r\n e.animate({ backgroundColor: \'#fafafa\' }" +
|
||||
", 500, function () {\r\n e.css(\'background-color\', \'\');\r\n " +
|
||||
" });\r\n });\r\n $commentOutput.anima" +
|
||||
"te({ scrollTop: $commentOutput[0].scrollHeight }, 250)\r\n }\r\n }" +
|
||||
"\r\n\r\n document.DiscoFunctions.onCommentAdded = onCommentAdded;\r\n do" +
|
||||
"cument.DiscoFunctions.onCommentRemoved = onCommentRemoved;\r\n });\r\n</script>\r\n" +
|
||||
"");
|
||||
" let t = \'<div><span class=\"author\"></span>\';\r\n if (canRemove)\r\n " +
|
||||
" t += \'<span class=\"remove fa fa-times-circle\"></span>\';\r\n " +
|
||||
" t += \'<span class=\"timestamp\"></span><div class=\"comment\"></div></div>\';\r\n\r\n " +
|
||||
" const e = $(t);\r\n e.attr(\'data-commentid\', c.Id);\r\n " +
|
||||
" e.find(\'.author\').text(c.Author);\r\n e.find(\'.timestamp\').text(c.Ti" +
|
||||
"mestampFull).attr(\'title\', c.TimestampFull).livestamp(c.TimestampUnixEpoc);\r\n " +
|
||||
" e.find(\'.comment\').html(c.HtmlComments);\r\n\r\n $commentOutput." +
|
||||
"append(e);\r\n\r\n if (!quick) {\r\n e.animate({ backgroundC" +
|
||||
"olor: \'#ffff99\' }, 500, function () {\r\n e.animate({ backgroun" +
|
||||
"dColor: \'#fafafa\' }, 500, function () {\r\n e.css(\'backgrou" +
|
||||
"nd-color\', \'\');\r\n });\r\n });\r\n $" +
|
||||
"commentOutput.animate({ scrollTop: $commentOutput[0].scrollHeight }, 250)\r\n " +
|
||||
" }\r\n }\r\n\r\n document.DiscoFunctions.onCommentAdded = onCommen" +
|
||||
"tAdded;\r\n document.DiscoFunctions.onCommentRemoved = onCommentRemoved;\r\n " +
|
||||
" });\r\n</script>\r\n");
|
||||
|
||||
|
||||
#line 106 "..\..\Views\User\UserParts\_Comments.cshtml"
|
||||
|
||||
Reference in New Issue
Block a user