Closed (fixed)
Project:
Panels
Version:
6.x-3.x-dev
Component:
In-Place Editor (IPE)
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
27 Sep 2010 at 09:14 UTC
Updated:
3 Nov 2010 at 14:04 UTC
Panels IPE has not been saving properly when internationalized because the javascript attached to the save function has been only firing for buttons named literally "Save" and "Cancel". This small patch adds an id to the cancel button to distinguish it and then looks for both buttons by id rather than value, allowing the text to be translated.
If there is something wrong with this approach, we could pass the internationalized versions of those strings to javascript, and use those, but this seems more logical.
(first multifile patch with CVS, happy to reroll if something not right about patch structure.)
| Comment | File | Size | Author |
|---|---|---|---|
| panels_ipe_i18n.patch | 1.72 KB | yareckon |
Comments
Comment #1
merlinofchaos commentedLooks okay. Committed. D7 shouldn't experience this problem as I had to rewrite how the buttons are detected there.
Comment #3
patrickroma commentedworks perfectly.