[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

SF.net SVN: ledger-smb:[5763] trunk/UI/accounts



Revision: 5763
          http://sourceforge.net/p/ledger-smb/code/5763
Author:   einhverfr
Date:     2013-05-11 08:03:31 +0000 (Sat, 11 May 2013)
Log Message:
-----------
Fixing javascript: headings can be nested so this way heading id shows always.

Modified Paths:
--------------
    trunk/UI/accounts/edit.html
    trunk/UI/accounts/edit.js

Modified: trunk/UI/accounts/edit.html
===================================================================
--- trunk/UI/accounts/edit.html	2013-05-11 07:54:36 UTC (rev 5762)
+++ trunk/UI/accounts/edit.html	2013-05-11 08:03:31 UTC (rev 5763)
@@ -52,7 +52,6 @@
    
 </div>
 <?lsmb END #  IF ID ?>
-<div class="inputline" id="obsolete_line">
 <div class="inputline" id="desc-line">
    <label class="line"><?lsmb text('Description') ?></label>
    <div class="inputgroup">

Modified: trunk/UI/accounts/edit.js
===================================================================
--- trunk/UI/accounts/edit.js	2013-05-11 07:54:36 UTC (rev 5762)
+++ trunk/UI/accounts/edit.js	2013-05-11 08:03:31 UTC (rev 5763)
@@ -15,11 +15,9 @@
    var accdetails = document.getElementById('accdetails');
    var dropdowns = document.getElementById('dropdowns');
    if (typeselect.value == 'A'){
-         headingrow.style.display = 'none';
          accdetails.style.display = 'block';
          dropdowns.style.display = 'block';
    } else {
-         headingrow.style.display = 'block';
          accdetails.style.display = 'none';
          dropdowns.style.display = 'none';
    }

This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.