-
2
Answers
-
Last Activity:
long time ago,
Anonymous
Your question has been submitted and is awaiting moderation.
Thank you for reporting this content, moderators have been notified of your submission.
When I devloping my modules I am using EXT.NET (Sencha Ext JS JavaScript Library for ASP.NET).
I have successfully developed few modules combining DNN template modules and EXT.NET.
Few Days ago I upgraded my test environment to DNN 7.1.0 and My modules stop working.
I got errors inside javascripts writen in View.aspx
One of erros looks like this
https://picasaweb.google.com/lh/photo/6LEjCmzVi8Kr2o-fm-ZCYdMTjNZETYmyPJy0liipFm0?feat=directlink
Strange thing is that this piece of code works without problems on DNN 7.0.(0-6) versions
This is another one function in JS whic do not works since 7.1 version
var printTypes = App.PrintTypesStore.data.items;
var buttons = []
for (i in printTypes) {
buttons.push({ text: printTypes[i].data.Caption, iconCls: 'icon-report', command: 'print-' + printTypes[i].data.Folder + '-' + printTypes[i].data.Report });
}
toolbar.add(new Ext.Button({
text: 'Print',
iconCls: 'icon-printer',
menu: buttons
}));
Chrom's F12 pont me to exception
Uncaught TypeError: Cannot read property 'Caption' of undefined
Is there something new in DNN 7.1.0 regarding javascript that developers should pay attention.
I saw at relase notes that JQuery updated to JQuery 1.9.1