You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@lenya.apache.org by Oleg Barmin <Ol...@bridge-quest.com> on 2009/10/21 07:01:17 UTC

Error with editing metadata in IE

Saving of metadata functionality is broken in IE. In Firefox you can save a modified metadata by clicking outside of the inputText that was modified. In IE, such a capability is not available.

Buggy file: /src/modules-core/sitemanagement/resources/javascript/metadata.js
Fix for this error:

@@ -27,7 +27,7 @@
         namespace: namespace,
         element: element,
         oldValue: dojo.byId("oldValue_" + id).value,
-        value: dojo.byId("input_" + id).value,
+        value: dojo.byId("input_" + id).value
       },
       method: "post",
       encoding: "utf-8",

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@lenya.apache.org
For additional commands, e-mail: user-help@lenya.apache.org


Re: Error with editing metadata in IE

Posted by Andreas Hartmann <an...@apache.org>.
Oleg Barmin schrieb:
> Saving of metadata functionality is broken in IE. In Firefox you can save a modified metadata by clicking outside of the inputText that was modified. In IE, such a capability is not available.
> 
> Buggy file: /src/modules-core/sitemanagement/resources/javascript/metadata.js
> Fix for this error:
> 
> @@ -27,7 +27,7 @@
>          namespace: namespace,
>          element: element,
>          oldValue: dojo.byId("oldValue_" + id).value,
> -        value: dojo.byId("input_" + id).value,
> +        value: dojo.byId("input_" + id).value
>        },
>        method: "post",
>        encoding: "utf-8",

Patch applied in revision 827949.
Thanks a lot!

-- Andreas



-- 
Andreas Hartmann, CTO
BeCompany GmbH
http://www.becompany.ch
Tel.: +41 (0) 43 818 57 01


---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@lenya.apache.org
For additional commands, e-mail: user-help@lenya.apache.org