publishing

This commit is contained in:
Paul Schneider 2017-06-25 11:35:13 +02:00
commit f1cbda7162
5 changed files with 2283 additions and 4 deletions

1
Yavsc/wwwroot/js/input-lib.min.js vendored Normal file
View file

@ -0,0 +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);