Skip to content

Commit

Permalink
Fix EZP-21929: eZOE searchreplace plugin interface is broken
Browse files Browse the repository at this point in the history
  • Loading branch information
dpobel committed Nov 27, 2013
1 parent 288f1b8 commit 87f17de
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -85,6 +85,7 @@ td.charmap, #charmap a {width:18px; height:18px; color:#000; border:1px solid #A
.tabs a:link, .tabs a:visited, .tabs a:hover {color:black;}

/* Panels */
.panel_wrapper div.panel {display:none;}
.panel_wrapper div.current {display:block; width:100%; height:auto; overflow:visible;}
.panel_wrapper {border:1px solid #919B9C; border-top:0px; padding:10px; padding-top:5px; clear:both; background:white;}
.panel_wrapper div.current:after /* Terminate floating elements flow */
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -83,6 +83,7 @@ td.charmap, #charmap a {width:18px; height:18px; color:#000; border:1px solid #A
.tabs a:link, .tabs a:visited, .tabs a:hover {color:black;}

/* Panels */
.panel_wrapper div.panel {display:none;}
.panel_wrapper div.current {display:block; width:100%; height:auto; overflow:visible;}
.panel_wrapper {border:1px solid #919B9C; border-top:0px; padding:10px; padding-top:5px; clear:both; background:white;}
.panel_wrapper div.current:after /* Terminate floating elements flow */
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,7 @@ eZOEPopupUtils.settings.onInitDoneArray.push( function( editorElement )
// setup navigation on bookmark / browse / search links to their 'boxes' (panels)
jQuery( 'a.atr_link_search_link, a.atr_link_browse_link, a.atr_link_bookmark_link' ).click( function(){
ezoeLinkAttribute.id = ezoeLinkAttribute.lid( this.id );
jQuery('div.panel').hide();
jQuery('div.panel, div.link-dialog').hide();
jQuery('#' + ezoeLinkAttribute.box( this.id ) ).show();
jQuery('#' + ezoeLinkAttribute.box( this.id ) + ' input[type=text]:first').focus();
});
Expand Down Expand Up @@ -195,8 +195,8 @@ var ezoeLinkAttribute = {
{
ezoeLinkAttribute.id = null;
jQuery('div.panel').hide();
jQuery('div.panel:first').show();
jQuery('div.panel:first input[type=text]:first').focus();
jQuery('div.link-dialog').show();
jQuery('div.link-dialog input[type=text]:first').focus();
}
};
Expand Down
2 changes: 1 addition & 1 deletion extension/ezoe/design/standard/templates/ezoe/tag_link.tpl
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ tinyMCEPopup.onInit.add( eZOEPopupUtils.BIND( eZOEPopupUtils.init, window, {
<div class="panel_wrapper" style="min-height: 300px;">
<div class="panel">
<div class="link-dialog">
<div class="attribute-title">
<h2 style="padding: 0 0 4px 0;" id="tag-edit-title">{'New %tag_name tag'|i18n('design/standard/ezoe', '', hash( '%tag_name', concat('&lt;', $tag_name_alias, '&gt;') ))}</h2>
</div>
Expand Down

0 comments on commit 87f17de

Please sign in to comment.