Hello there,
I hope someone could help me with this problem...
I recently used the Knockout.js for one of the module I have created - basically to retrieve information from a web API and dynamically display the content. I created an empty module first using Host-Extension-Create Module, added the module to my page and added the code to the .ascx file in the module. In my skin file, I made the reference to the source / library code (Knockout.js). Everything seemed working perfectly. The module could display and retrieve the data properly. However, when I clicked on "Edit Page" button on the page I created, a script statement showed up on top of the "Edit Page" button... Here is the statement
Version function c(){if(0<arguments.length)return c.Ka(d,arguments[0])&&(c.P(),d=arguments[0],c.O()),this;a.k.zb(c);return d}
I can still move the modules on the page, however, I can't save the changes. Basically, the page is no longer editable. I removed the reference line from my skin file and the script statement disappeared. And the content showed properly on my module in the edit mode. However, If I hit "Close Edit mode, I can no longer see the dynamic content that's generated from the Knockout.js - I can only see the html part.
I can make the page work. However, eventually I need to hand over the skin template and module to the non-developers so they can create page and add modules freely on their end. Any help would be greatly appreciated!
Lucy