This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
if(this.transitions) { | |
body.addClass('bhv-transition-now').css('height', fullHeight); | |
body.height(); | |
body.removeClass('bhv-transition-now').addClass('state-transitioning'); | |
body.height(); | |
body.css('height', 0); | |
body.on('transitionend.close', function(event) { | |
body.off('transitionend.close'); | |
body.addClass('state-hidden'); | |
body.height(); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
/** | |
* TableOptionsetField | |
* DataObjectManager style field that allows arbitrary options to be rendered on | |
* the frontend with maximum flexibility and ease. | |
* @author Will Morgan <[email protected]> | |
*/ | |
class TableOptionsetField extends FormField { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
/** | |
* JavaScriptConfig | |
* A utility class to add in configuration information for JS files in the head | |
* section, directly from PHP and json_encode with Requirements. | |
* Used with SilverStripe 2.4+ | |
* @author @willmorgan | |
*/ | |
class JavaScriptConfig { |
NewerOlder