mirror of
https://github.com/Alfresco/alfresco-community-repo.git
synced 2025-08-07 17:49:17 +00:00
Merged V2.1 to HEAD
6938: Fix for WCM-864 (bulk import of ZIP containing only directories and no files) 6939: Fix for AWC-1602. Workaround for MSIE7 DOM access methods in Javascript. 6942: Fixed bug in transaction demarcation around the patch service. git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@7349 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
This commit is contained in:
@@ -504,7 +504,7 @@ var MySpaces = {
|
||||
var panel = $E(".spaceCreateSpacePanel", $(actionEl).getParent());
|
||||
panel.setStyle("opacity", 0);
|
||||
panel.setStyle("display", "inline");
|
||||
panel.getElementById("space-name").removeClass("spaceFormItemError");
|
||||
panel.getElementsBySelector('#space-name').removeClass("spaceFormItemError");
|
||||
|
||||
Alfresco.Dom.smartAlignElement(panel, panel.getParent());
|
||||
// make into a dragable panel
|
||||
@@ -543,9 +543,9 @@ var MySpaces = {
|
||||
{
|
||||
if (spaceName.test(/(.*[\"\*\\\>\<\?\/\:\|]+.*)|(.*[\.]?.*[\.]+$)|(.*[ ]+$)/i))
|
||||
{
|
||||
var spaceName = panel.getElementById("space-name");
|
||||
spaceName.addClass("spaceFormItemError");
|
||||
spaceName.focus();
|
||||
// Different object access methods to workaround MSIE7 problem
|
||||
panel.getElementsBySelector('#space-name').addClass("spaceFormItemError");
|
||||
panel.getElementById("space-name").focus();
|
||||
}
|
||||
else
|
||||
{
|
||||
|
Reference in New Issue
Block a user