Hi,
Dojo script are strongly cached. If you need get files updated every time you refreshed the page, then open chrome Developer Toolbar (F12) and on Network tab mark "Disable cache" checkbox. Notice that the tool have to be opened for all the time. The alternative is to use some chrome extension like "Cache killer".
I hink that path to _ContentContextMixin should be "epi/shell/_ContextMixin" instead of "epi/_ContentContextMixin"
If your gadet break edit mode for user,then you could try to reset user settings in admin mode. The gadget should be removed from personal settings.
It's also very helpfull to turn on debug mode of client resources (I don't know if you already did it)
<episerver.framework> <clientResources debug="true" />
Hi,
I am enhanching Commerce Catalg UI. and creating a gadget. If some thing goes wrong in script or I update something, It doesnot reflect my latest changes in script.
What I will require to do to get always latest changes in Dojo/Dijit Script? (It looks every thing gets cached)
E.g.
define([
"dojo/_base/declare",
"dijit/_WidgetBase",
"dijit/_TemplatedMixin",
"epi/_ContentContextMixin"
]
path for _ContentContextMixin is wrong. Now there is no way to remove gadget from UI, as screen will blank always.
Or change
contextChanged: function (context, callerData) {
alert("Context changed" + context.Name);
}
to
contextChanged: function (context, callerData) {
//something else
}
Regards
Khurram