mirror of
https://github.com/silverstripe/silverstripe-reports
synced 2024-10-22 09:05:53 +00:00
MINOR Removed jQuery.layout references
This commit is contained in:
parent
7a124e1e63
commit
c193743b43
@ -63,7 +63,6 @@
|
|||||||
|
|
||||||
this.draggable({
|
this.draggable({
|
||||||
zIndex: 4000,
|
zIndex: 4000,
|
||||||
//stack: {group: '.ui-layout-west'},
|
|
||||||
appendTo: 'body',
|
appendTo: 'body',
|
||||||
helper: function() {
|
helper: function() {
|
||||||
return $(
|
return $(
|
||||||
|
@ -4,30 +4,6 @@
|
|||||||
(function($) {
|
(function($) {
|
||||||
$.entwine('ss', function($){
|
$.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
|
* Class: #Form_SearchTreeForm
|
||||||
*
|
*
|
||||||
|
@ -55,15 +55,10 @@
|
|||||||
if(!showForm || showForm.style.display == "none") {
|
if(!showForm || showForm.style.display == "none") {
|
||||||
ed.controlManager.setActive(showCommand, false);
|
ed.controlManager.setActive(showCommand, false);
|
||||||
// Can't use $('contentPanel'), as its in a different window
|
// Can't use $('contentPanel'), as its in a different window
|
||||||
window.parent.document.getElementById('contentPanel').style.display = "none";
|
jQuery('#contentPanel', window.parent).hide();
|
||||||
// toggle layout panel
|
|
||||||
jQuery('body.CMSMain').entwine('ss').getMainLayout().close('east');
|
|
||||||
} else {
|
} else {
|
||||||
ed.controlManager.setActive(showCommand, true);
|
ed.controlManager.setActive(showCommand, true);
|
||||||
window.parent.document.getElementById('contentPanel').style.display = "block";
|
jQuery('#contentPanel', window.parent).show();
|
||||||
// toggle layout panel
|
|
||||||
jQuery('body.CMSMain').entwine('ss').getMainLayout().resizeAll();
|
|
||||||
jQuery('body.CMSMain').entwine('ss').getMainLayout().open('east');
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user