diff --git a/course/yui/src/toolboxes/js/resource.js b/course/yui/src/toolboxes/js/resource.js
index c4af5f4..9d88111 100644
--- a/course/yui/src/toolboxes/js/resource.js
+++ b/course/yui/src/toolboxes/js/resource.js
@@ -487,6 +487,8 @@ Y.extend(RESOURCETOOLBOX, TOOLBOX, {
         buttonimg.setAttrs({
             'src': iconsrc
         });
+        var oldaction = button.getData('action');
+        button.replaceClass('editing_' + oldaction, 'editing_' + newtitle);
         if (Y.Lang.trim(button.getAttribute('title'))) {
             button.setAttribute('title', newtitlestr).setData('action', newtitle).setData('nextgroupmode', nextgroupmode);
         }
