diff options
Diffstat (limited to 'plugins/Feedback/templates/feedback.js')
-rw-r--r-- | plugins/Feedback/templates/feedback.js | 28 |
1 files changed, 0 insertions, 28 deletions
diff --git a/plugins/Feedback/templates/feedback.js b/plugins/Feedback/templates/feedback.js deleted file mode 100644 index adaaa45448..0000000000 --- a/plugins/Feedback/templates/feedback.js +++ /dev/null @@ -1,28 +0,0 @@ -$(function() { - var feedback = $('a#topbar-feedback'); - if (feedback.size()) { - var fbDiv = $('<div id="feedback-dialog"></div>').appendTo('body'); - - $.get(feedback.attr('href'), function(data) { - fbDiv.html(data); - }); - - fbDiv.dialog({ - title: feedback.html(), - bgiframe: true, - modal: true, - height: 480, - width: 500, - resizable: false, - autoOpen: false - }); - - $('#topbar-feedback').click(function() { - $('#feedback-faq').show(); - $('#feedback-form').hide(); - $('#feedback-sent').hide().empty(); - fbDiv.dialog('open'); - return false; - }); - } -}); |