JavaScript bug fix
git-svn-id: svn://svn.cy55.de/Zope3/src/loops/trunk@1388 fd906abe-77d9-0310-91a1-e0d9ade77398
This commit is contained in:
parent
4358ef9f51
commit
fa03f4785c
2 changed files with 2 additions and 1 deletions
|
@ -34,6 +34,7 @@ from zope.cachedescriptors.property import Lazy
|
||||||
from zope.formlib.form import Form, EditForm, FormFields
|
from zope.formlib.form import Form, EditForm, FormFields
|
||||||
from zope.publisher.browser import FileUpload
|
from zope.publisher.browser import FileUpload
|
||||||
from zope.publisher.interfaces import BadRequest
|
from zope.publisher.interfaces import BadRequest
|
||||||
|
from zope.security.proxy import isinstance
|
||||||
|
|
||||||
from cybertools.ajax import innerHtml
|
from cybertools.ajax import innerHtml
|
||||||
from cybertools.browser.form import FormController
|
from cybertools.browser.form import FormController
|
||||||
|
|
|
@ -16,7 +16,7 @@ function focusOpener() {
|
||||||
function replaceFieldsNode(targetId, typeId, url) {
|
function replaceFieldsNode(targetId, typeId, url) {
|
||||||
token = dojo.byId(typeId).value;
|
token = dojo.byId(typeId).value;
|
||||||
dojo.io.updateNode(targetId, {
|
dojo.io.updateNode(targetId, {
|
||||||
url: url + '?form.type=' + token,
|
url: url + '?form.type=' + token
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue