Permalink
Browse files

Fixing bug with lack of serialization for economic parameters.

  • Loading branch information...
1 parent d3974c1 commit 5b12a6b286c2f033b25ccb9e98a0ee2c528509b5 @borgar committed Aug 8, 2012
Showing with 2 additions and 2 deletions.
  1. +1 −1 index.html
  2. +1 −1 js/app.js
View
@@ -104,7 +104,7 @@
</fieldset>
- <fieldset class="">
+ <fieldset class="" id="calcview">
<legend>Reikna:</legend>
<div class="formcontrol formselect">
<!--<label for="display_driver">Sýna:</label>-->
View
@@ -442,7 +442,7 @@ jQuery(function ($) {
// serialize to hash
// NOTE: don't do this naiively because ppl may put their income in, change to something else
// and then share the URL - this would then be leaking their income.
- var cq = [ '#col1>fieldset:not([id])' ];
+ var cq = [ '#calcview', '#economy' ];
cq.push( loan1.active ? '#loan1' : '#loan1 legend' );
cq.push( loan2.active ? '#loan2' : '#loan2 legend' );
if ( current_driver.extra_controls ) {

0 comments on commit 5b12a6b

Please sign in to comment.