Commit 19cb9c9cc1fa9f8deb08938fb03507fe5b6b5b64

Authored by nbm
1 parent c4da14a4

Update fieldset on popStack, and show the label of the lookup, not the

numeric value.


git-svn-id: https://kt-dms.svn.sourceforge.net/svnroot/kt-dms/trunk@3776 c91229c3-7414-0410-bfa2-8a42b809f60b
presentation/lookAndFeel/knowledgeTree/js/conditional_usage.js
... ... @@ -104,7 +104,9 @@ function popStack(fieldset) {
104 104 return ;
105 105 }
106 106 var last_item = undostack.pop();
  107 + simpleLog('DEBUG','popping item\n'+toHTML(last_item));
107 108 last_item.parentNode.removeChild(last_item);
  109 + updateFieldset(fieldset);
108 110 }
109 111  
110 112 /**
... ... @@ -117,7 +119,7 @@ function createFixedWidget(fieldset, widget, i_name, i_value, i_label) {
117 119 TH(null, i_name),
118 120 TD(null,
119 121 INPUT({'type':'hidden','name':i_name, 'value':i_value,'class':'fixed'}),
120   - SPAN(null, i_value)
  122 + SPAN(null, i_label)
121 123 )
122 124 );
123 125 swapDOM(widget, newWidget);
... ...