summaryrefslogtreecommitdiffstats
path: root/public
diff options
context:
space:
mode:
authorJean-Philippe Lang <jp_lang@yahoo.fr>2007-10-28 15:04:17 +0000
committerJean-Philippe Lang <jp_lang@yahoo.fr>2007-10-28 15:04:17 +0000
commit9a3d743ae57fae6765d6d95c2d46851f4136e105 (patch)
treeebd33b7ba54f42e453983ae94fad34a51124127a /public
parent0af6f347580dd7c331f16aa50904d010fad19e23 (diff)
downloadredmine-9a3d743ae57fae6765d6d95c2d46851f4136e105.tar.gz
redmine-9a3d743ae57fae6765d6d95c2d46851f4136e105.zip
Some slight improvements in AJAX errors handling.
git-svn-id: http://redmine.rubyforge.org/svn/trunk@874 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'public')
-rw-r--r--public/javascripts/context_menu.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/public/javascripts/context_menu.js b/public/javascripts/context_menu.js
index a6e39c512..2e8108616 100644
--- a/public/javascripts/context_menu.js
+++ b/public/javascripts/context_menu.js
@@ -39,6 +39,6 @@ ContextMenu.prototype = {
this.selection = tr;
var id = tr.id.substring(6, tr.id.length);
/* TODO: do not hard code path */
- new Ajax.Updater('context-menu', '../../issues/context_menu/' + id, {asynchronous:true, evalScripts:true, onComplete:function(request){Effect.Appear('context-menu', {duration: 0.20})}})
+ new Ajax.Updater({success:'context-menu'}, '../../issues/context_menu/' + id, {asynchronous:true, evalScripts:true, onComplete:function(request){Effect.Appear('context-menu', {duration: 0.20})}})
}
}