Granite.i18n undefined - editable templates
I have created a page with empty editable template. I have structure page inside my application and following code throwing a js error : "Cannot read property setLocale of undefined"
| if (typeof Granite !== "undefined") { | |
| Granite.I18n.setLocale('en_US'); | |
| } |
Any ideas ?
Thanks,
Sri
