summaryrefslogtreecommitdiffstats
path: root/public/javascripts
diff options
context:
space:
mode:
authorJean-Philippe Lang <jp_lang@yahoo.fr>2013-08-05 18:32:18 +0000
committerJean-Philippe Lang <jp_lang@yahoo.fr>2013-08-05 18:32:18 +0000
commit85d4ac372a1245fb36b347837427fde298e403a5 (patch)
tree73c9134a335e7acd5585c0e54bd60bcbdfcd36ef /public/javascripts
parent936ef250b4ca91caec1e2a351017debd85813648 (diff)
downloadredmine-85d4ac372a1245fb36b347837427fde298e403a5.tar.gz
redmine-85d4ac372a1245fb36b347837427fde298e403a5.zip
Submit handler should be live as well (#14615).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@12086 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'public/javascripts')
-rw-r--r--public/javascripts/application.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/public/javascripts/application.js b/public/javascripts/application.js
index 61cca4fa4..3a1b9cb79 100644
--- a/public/javascripts/application.js
+++ b/public/javascripts/application.js
@@ -535,7 +535,7 @@ function initMyPageSortable(list, url) {
var warnLeavingUnsavedMessage;
function warnLeavingUnsaved(message) {
warnLeavingUnsavedMessage = message;
- $('form').submit(function(){
+ $('form').live('submit', function(){
$('textarea').removeData('changed');
});
$('textarea').live('change', function(){