publishing

This commit is contained in:
2017-10-22 16:23:06 +02:00
parent ed67c702e6
commit f316ce472d
2 changed files with 2 additions and 2 deletions

View File

@ -1 +1 @@
+function(t){var e=function(e){var o=t(this).prop("checked"),c=t(this).data("circle-id"),n=t(this).data("target-id"),i={CircleId:c,BlogPostId:n},a="/api/blogacl";o||(a+="/"+c),console.log(i),t.ajax({url:a,type:o?"POST":"DELETE",data:JSON.stringify(i),contentType:"application/json;charset=utf-8",success:function(t){console.log("POSTED")},error:function(){console.log("POSTed")}}),e.preventDefault()};t(document).ready(function(){t("input.Blogcirle[type=checkbox]").on("change",e),t(".input-group.date").datetimepicker()})}(jQuery);
+function(o){var t=function(t){var e=o(this).prop("checked"),c=o(this).data("circle-id"),n=o(this).data("target-id"),a={CircleId:c,BlogPostId:n},i="/api/blogacl";e||(i+="/"+c),console.log(a),o.ajax({url:i,type:e?"POST":"DELETE",data:JSON.stringify(a),contentType:"application/json;charset=utf-8",success:function(o){console.log("POSTED")},error:function(){console.log("POSTed")}}),t.preventDefault()};o(document).ready(function(){o("input.Blogcirle[type=checkbox]").on("change",t)})}(jQuery);