on 06-01-2017 4:54 AM
Hello Colleagues,
I have created few SAPUI5 applications in WebIDE using List Report template. And I would like to disable debugging tool(CTRL+SHIFT+ALT+S) . I actually found this document https://archive.sap.com/discussions/thread/3525041 on scn which talks about setting window["sap-ui-config"].productive = true during bootstrapping SAPUI5, before loading sap-ui-core.js from your index.html file.
Since I do not have index.html file, I was wondering how/where do I set this flag. Also, is there a way to set this flag at System level rather than at application level?
Any help highly appreciated.
Thanks
Sunil
Maybe you can add a event listener "keydown" in the init method of component.js
like this?
window.addEventListener('keydown', function(oEvent){
if(oEvent.altKey && oEvent.shiftKey && oEvent.ctrlKey && oEvent.keyCode === ???)
oEvent.preventDefault()
});
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
84 | |
24 | |
11 | |
9 | |
7 | |
6 | |
5 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.