From 51c38b382df4daf5f18cacc9d217b5d9f5be5e58 Mon Sep 17 00:00:00 2001 From: Catouse Date: Fri, 2 May 2014 10:48:40 +0800 Subject: [PATCH] * removed function 'condensedFrom' from my.js. --- www/js/my.full.js | 15 --------------- www/theme/default/style.css | 1 - 2 files changed, 16 deletions(-) diff --git a/www/js/my.full.js b/www/js/my.full.js index e35798d130..ac1809c9a1 100644 --- a/www/js/my.full.js +++ b/www/js/my.full.js @@ -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(); diff --git a/www/theme/default/style.css b/www/theme/default/style.css index 2fba431beb..904df220ae 100644 --- a/www/theme/default/style.css +++ b/www/theme/default/style.css @@ -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;}