Permalink
Browse files

MINOR Removed jQuery.layout references

  • Loading branch information...
1 parent 7a124e1 commit c193743b43d20c4a28cd4e41a11c841a9c70f44d @chillu chillu committed Mar 30, 2011
Showing with 2 additions and 32 deletions.
  1. +0 −1 javascript/AssetAdmin.DragDrop.js
  2. +0 −24 javascript/CMSMain.js
  3. +2 −7 javascript/tinymce_ssbuttons/editor_plugin_src.js
@@ -63,7 +63,6 @@
this.draggable({
zIndex: 4000,
- //stack: {group: '.ui-layout-west'},
appendTo: 'body',
helper: function() {
return $(
View
@@ -5,30 +5,6 @@
$.entwine('ss', function($){
/**
- * Class: #contentPanel form
- *
- * All forms in the right content panel should have closeable jQuery UI style titles.
- */
- // TODO Change to modal dialog, jQuery UI update somehow messed up the button positioning,
- // they're no longer clickable
- // $('#contentPanel form').entwine({
- // // Constructor: onmatch
- // onmatch: function() {
- // // Style as title bar
- // this.find(':header:first').titlebar({
- // closeButton:true
- // });
- // // The close button should close the east panel of the layout
- // this.find(':header:first .ui-dialog-titlebar-close').bind('click', function(e) {
- // $('body.CMSMain').entwine('ss').getMainLayout().close('east');
- // return false;
- // });
- //
- // this._super();
- // }
- // });
-
- /**
* Class: #Form_SearchTreeForm
*
* Control the site tree filter.
@@ -55,15 +55,10 @@
if(!showForm || showForm.style.display == "none") {
ed.controlManager.setActive(showCommand, false);
// Can't use $('contentPanel'), as its in a different window
- window.parent.document.getElementById('contentPanel').style.display = "none";
- // toggle layout panel
- jQuery('body.CMSMain').entwine('ss').getMainLayout().close('east');
+ jQuery('#contentPanel', window.parent).hide();
} else {
ed.controlManager.setActive(showCommand, true);
- window.parent.document.getElementById('contentPanel').style.display = "block";
- // toggle layout panel
- jQuery('body.CMSMain').entwine('ss').getMainLayout().resizeAll();
- jQuery('body.CMSMain').entwine('ss').getMainLayout().open('east');
+ jQuery('#contentPanel', window.parent).show();
}
}

0 comments on commit c193743

Please sign in to comment.