feat: refs #5308 Upgrade to v7 #6

Merged
guillermo merged 5 commits from 5308-hideDeveloperOptions into master 2024-02-23 12:31:39 +00:00
2 changed files with 7 additions and 5 deletions
Showing only changes of commit 20e2ee4f20 - Show all commits

View File

@ -85,6 +85,9 @@ var App = {
this.dsName = mdbDsName || userDefaultDatasource || Conf.defaultDatasource;
this.heartClicks = 0;
// Change title
document.title = document.title + ' - ' + this.module;
// Creates the necessary registry entries
var lastVersion = this.regRead(Conf.regPath, 'lastExecutedVersion');
@ -286,12 +289,12 @@ var App = {
style.display = 'none';
},
refreshDeveloperMode: function() {
var stylesName = ['branchOptions', 'datasourceOptions']
var stylesName = ['branchOptions', 'datasourceOptions'];
for (var n in stylesName) {
var style = this.$(stylesName[n]).style;
this.regRead(Conf.regPath, 'hasDeveloperMode')
? style.visibility = 'visible'
: style.visibility = 'hidden'
style.visibility = this.regRead(Conf.regPath, 'hasDeveloperMode')
Outdated
Review
style.visibility = this.regRead(Conf.regPath, 'hasDeveloperMode')
		? 'visible'
		: 'hidden';
``` style.visibility = this.regRead(Conf.regPath, 'hasDeveloperMode') ? 'visible' : 'hidden'; ```
? 'visible'
: 'hidden';
}
},
onChangeBranch: function() {

View File

@ -22,7 +22,6 @@
windowsstate="normal"/>
</head>
<body
onload="document.title = document.title + ' - ' + this.module()"
onload="App.onLoad(event)"
Review

Esto ya se hace en el método App.onLoad(event)

Esto ya se hace en el método `App.onLoad(event)`
onunload="App.onUnload(event)"
onkeypress="App.onKeyPress(event)"