Commit 2e4dc05012f5867e1fcaf36c864d9b35d638929f
1 parent
ff19d06e
When document type is changed, initialise any new conditional fieldsets
that might be there. git-svn-id: https://kt-dms.svn.sourceforge.net/svnroot/kt-dms/trunk@3864 c91229c3-7414-0410-bfa2-8a42b809f60b
Showing
1 changed file
with
1 additions
and
0 deletions
templates/ktcore/document/add.smarty
| @@ -12,6 +12,7 @@ var fetching = null; | @@ -12,6 +12,7 @@ var fetching = null; | ||
| 12 | function swapInItem(req) { | 12 | function swapInItem(req) { |
| 13 | var cp = getElement(fetching); | 13 | var cp = getElement(fetching); |
| 14 | cp.innerHTML = req.responseText; | 14 | cp.innerHTML = req.responseText; |
| 15 | + initialiseConditionalFieldsets(); | ||
| 15 | } | 16 | } |
| 16 | 17 | ||
| 17 | function xmlFailure(err) { | 18 | function xmlFailure(err) { |