mirror of
https://github.com/Alfresco/alfresco-community-repo.git
synced 2025-08-07 17:49:17 +00:00
checkpoint of xforms improvements
- mostly functional hgroup implementation - refactoring to support hgroups, make widgets behave better as inline elements - figured out a way to get rid of dojo's inflight error watcher - partial support for totalDigits (blocked by a dojo bug) - improved support for length schema constraint - refactoring of create widget code on the way to supporting config based on schema type, xform type, and appearance - fix for silly bug in select workflow portion of create form wizard git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@5573 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
This commit is contained in:
@@ -45,7 +45,12 @@ alfresco.AjaxHelper.createRequest = function(target, serverMethod, methodArgs, l
|
||||
result.target = target;
|
||||
result.content = methodArgs;
|
||||
result.method = "POST";
|
||||
result.load = load;
|
||||
result._baseLoadHandler = load;
|
||||
result.load = function(type, data, event, kwArgs)
|
||||
{
|
||||
// escape from dojo's watchInFlight errors so we get real javascript errors thrown
|
||||
setTimeout(function() { result._baseLoadHandler(type, data, event, kwArgs); }, 10);
|
||||
}
|
||||
dojo.event.connect(result, "load", function(type, data, evt)
|
||||
{
|
||||
alfresco.AjaxHelper._loadHandler(result);
|
||||
|
Reference in New Issue
Block a user