* removed function 'condensedFrom' from my.js.

This commit is contained in:
Catouse
2014-05-02 10:48:40 +08:00
parent 2e632c9b74
commit 51c38b382d
2 changed files with 0 additions and 16 deletions
-15
View File
@@ -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();
-1
View File
@@ -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;}