* removed function 'condensedFrom' from my.js.
This commit is contained in:
@@ -1050,27 +1050,12 @@ function setTableBehavior()
|
||||
$('#wrap .outer > .table, #wrap .outer > form > .table, #wrap .outer > .mian > .table, #wrap .outer > .mian > form > .table, #wrap .outer > .container > .table').not('.table-data, .table-form').addClass('table table-condensed table-hover table-striped tablesorter');
|
||||
}
|
||||
|
||||
/**
|
||||
* Make form condensed
|
||||
*
|
||||
* @access public
|
||||
* @return void
|
||||
*/
|
||||
function condensedForm()
|
||||
{
|
||||
$('.form-condensed legend').click(function()
|
||||
{
|
||||
$(this).closest('fieldset').toggleClass('collapsed');
|
||||
});
|
||||
}
|
||||
|
||||
/* Ping the server every some minutes to keep the session. */
|
||||
needPing = true;
|
||||
|
||||
/* When body's ready, execute these. */
|
||||
$(document).ready(function()
|
||||
{
|
||||
condensedForm();
|
||||
setModal();
|
||||
setTableBehavior();
|
||||
setForm();
|
||||
|
||||
@@ -176,7 +176,6 @@ i[class^="icon-"].disabled,i[class*=" icon-"].disabled,i[class^="icon-"].disable
|
||||
/* fieldset */
|
||||
fieldset {margin-bottom: 15px; border: 1px solid #e5e5e5; padding: 10px 15px 15px;}
|
||||
fieldset.fieldset-pure {background: none; padding: 0; border: none; padding-top: 5px;}
|
||||
fieldset.collapsed {border: none}
|
||||
fieldset > legend {width: auto; margin: 0 0 0 -5px; font-size: 13px; font-weight: bold; border-bottom: none; padding: 0 5px}
|
||||
fieldset > .form-group {margin-bottom: 0;}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user