Error with editing metadata in IE

View: New views
2 Messages — Rating Filter:   Alert me  

Error with editing metadata in IE

by Oleg Barmin :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

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@...
For additional commands, e-mail: user-help@...


Re: Error with editing metadata in IE

by Andreas Hartmann :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

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@...
For additional commands, e-mail: user-help@...