--- a/src/cm/media/js/client/c_icomment.js Wed Nov 25 09:34:10 2009 +0100
+++ b/src/cm/media/js/client/c_icomment.js Wed Nov 25 18:19:17 2009 +0100
@@ -25,6 +25,7 @@
var edit = gettext("edit") ;
var del = gettext("delete") ;
var close = gettext("close") ;
+ var showScope = gettext("show scope") ;
// no header, no body yet
this.overlay = new CY.Overlay( {
@@ -46,6 +47,7 @@
'<a class="c-state-unapproved c-action" title="' + changeToUnapprove + '" alt="' + changeToUnapprove + '">'+ unapproved +'</a>' + " " +
'<a class="c-state-cancel c-action" title="' + cancelChange + '" alt="' + cancelChange + '">' + cancel +'</a>' + " " +
'</div>' +
+ '<a class="c-show-scope c-show-iscope c-action" title="'+ showScope + '" alt="' + showScope + '"><em>-</em></a>' +
'<a class="c-close c-iclose c-action" title="'+ close + '" alt="' + close + '"><em>X</em></a>' +
'</div>',
bodyContent : '<div class="icomment-body">' +
@@ -212,6 +214,8 @@
this.overlay.get('boundingBox').addClass('c-focus-comment') ;
this.overlay.get('contentBox').query(".c-close").addClass('c-iclose-focus') ;
this.overlay.get('contentBox').query(".c-close").removeClass('c-iclose') ;
+ this.overlay.get('contentBox').query(".c-show-scope").addClass('c-show-iscope-focus') ;
+ this.overlay.get('contentBox').query(".c-show-scope").removeClass('c-show-iscope') ;
},
@@ -221,6 +225,8 @@
this.overlay.get('boundingBox').removeClass('c-focus-comment') ;
this.overlay.get('contentBox').query(".c-close").addClass('c-iclose') ;
this.overlay.get('contentBox').query(".c-close").removeClass('c-iclose-focus') ;
+ this.overlay.get('contentBox').query(".c-show-scope").addClass('c-show-iscope') ;
+ this.overlay.get('contentBox').query(".c-show-scope").removeClass('c-show-iscope-focus') ;
},
hide:function() {