diff options
author | Alessandro Cosentino <cosenal@gmail.com> | 2012-04-28 10:27:29 -0400 |
---|---|---|
committer | Alessandro Cosentino <cosenal@gmail.com> | 2012-04-28 10:27:29 -0400 |
commit | 797edb75a159f4bce2a5df1d6a04905caf85d563 (patch) | |
tree | 7c8e10d43045036293a81b65e3c8ea0deae48385 /js | |
parent | f3e249a4a24548fb1487aec76113b5e1216db75c (diff) |
created a stub for the News app
Diffstat (limited to 'js')
-rw-r--r-- | js/admin.js | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/js/admin.js b/js/admin.js new file mode 100644 index 000000000..4c645d241 --- /dev/null +++ b/js/admin.js @@ -0,0 +1,15 @@ +$(document).ready(function(){ + + + + $('#somesetting').blur(function(event){ + event.preventDefault(); + var post = $( "#somesetting" ).serialize(); + $.post( OC.filePath('apptemplate','ajax','seturl.php') , post, function(data){ OC.msg.finishedSaving('#somesetting .msg', data); }); + }); + + + +}); + + |