mirror of
https://github.com/silverstripe/silverstripe-reports
synced 2024-10-22 09:05:53 +00:00
MINOR Disable ui-titlebar styling for link/image forms, as it breaks the "insert" button interactions (to be replaced with a new modal dialog implementation soon anyway)
This commit is contained in:
parent
f547da23a3
commit
842c38fbc4
@ -9,22 +9,24 @@
|
|||||||
*
|
*
|
||||||
* All forms in the right content panel should have closeable jQuery UI style titles.
|
* All forms in the right content panel should have closeable jQuery UI style titles.
|
||||||
*/
|
*/
|
||||||
$('#contentPanel form').entwine({
|
// TODO Change to modal dialog, jQuery UI update somehow messed up the button positioning,
|
||||||
// Constructor: onmatch
|
// they're no longer clickable
|
||||||
onmatch: function() {
|
// $('#contentPanel form').entwine({
|
||||||
// Style as title bar
|
// // Constructor: onmatch
|
||||||
this.find(':header:first').titlebar({
|
// onmatch: function() {
|
||||||
closeButton:true
|
// // Style as title bar
|
||||||
});
|
// this.find(':header:first').titlebar({
|
||||||
// The close button should close the east panel of the layout
|
// closeButton:true
|
||||||
this.find(':header:first .ui-dialog-titlebar-close').bind('click', function(e) {
|
// });
|
||||||
$('body.CMSMain').entwine('ss').getMainLayout().close('east');
|
// // The close button should close the east panel of the layout
|
||||||
return false;
|
// this.find(':header:first .ui-dialog-titlebar-close').bind('click', function(e) {
|
||||||
});
|
// $('body.CMSMain').entwine('ss').getMainLayout().close('east');
|
||||||
|
// return false;
|
||||||
this._super();
|
// });
|
||||||
}
|
//
|
||||||
});
|
// this._super();
|
||||||
|
// }
|
||||||
|
// });
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Class: #Form_SearchTreeForm
|
* Class: #Form_SearchTreeForm
|
||||||
|
Loading…
x
Reference in New Issue
Block a user