This file contains hidden or 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
.something { | |
.something-else { | |
} | |
} |
This file contains hidden or 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
/** | |
* finish(): close database connections, etc. | |
* | |
*/ | |
public static function finish() { | |
// NOTE: DO 27 Aug 2012: We DON'T want to explictly close the database here, because | |
// Zend's session save code still needs to write out the session data. If we closed it | |
// Zend would simply open another connection, doubling the load on our database server. | |
// Instead we let PHP auto-close when we're done. | |
// $GLOBALS['db']->closeConnection(); |
This file contains hidden or 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
$('select.select').each(function(){ | |
var title = $(this).attr('title'); | |
if( $('option:selected', this).val() != '' ) title = $('option:selected',this).text(); | |
$(this) | |
.css({'z-index':10,'opacity':0,'-khtml-appearance':'none'}) | |
.after('<span class="select">' + title + '</span>') | |
.on('change',function(e){ | |
val = $('option:selected',this).text(); | |
$(this).next().text(val); | |
}) |
NewerOlder