diff options
Diffstat (limited to 'manas/public/javascript/idea.js')
-rw-r--r-- | manas/public/javascript/idea.js | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/manas/public/javascript/idea.js b/manas/public/javascript/idea.js new file mode 100644 index 0000000..4aa71bb --- /dev/null +++ b/manas/public/javascript/idea.js @@ -0,0 +1,5 @@ +function idea_success(response, status) { + response = eval('(' + response + ')'); + if (response['idea'] == 'fail') $('#error').show('slow'); + else $('#content').load('/idea/' + response['idea']); +} |