diff options
Diffstat (limited to 'js/script.js')
-rw-r--r-- | js/script.js | 31 |
1 files changed, 0 insertions, 31 deletions
diff --git a/js/script.js b/js/script.js deleted file mode 100644 index 64dbc80..0000000 --- a/js/script.js +++ /dev/null @@ -1,31 +0,0 @@ -/** - * ownCloud - registration - * - * This file is licensed under the Affero General Public License version 3 or - * later. See the COPYING file. - * - * @author Pellaeon Lin <pellaeon@hs.ntnu.edu.tw> - * @copyright Pellaeon Lin 2014 - */ - -(function ($, OC) { - - $(document).ready(function () { - $('#hello').click(function () { - alert('Hello from your script file'); - }); - - $('#echo').click(function () { - var url = OC.generateUrl('/apps/registration/echo'); - var data = { - echo: $('#echo-content').val() - }; - - $.post(url, data).success(function (response) { - $('#echo-result').text(response.echo); - }); - - }); - }); - -})(jQuery, OC);
\ No newline at end of file |