app.onclick = app.onchange = function()

in src/main/webapp/scripts/webapp.js [101:122]


        app.onclick = app.onchange = function () {
            if (oldChange) {
                oldChange();
            }
            if (app.value) {
                var azureCredentialsId = getElementValue("SELECT[name$=azureCredentialsId]")
                var resourceGroup = getElementValue("SELECT[name$=resourceGroup]")
                if (azureCredentialsId) {
                    azureWebAppDescriptor.isWebAppOnLinux(azureCredentialsId, resourceGroup, app.value, function (t) {
                        if (t.responseObject()) {
                            webAppController.showAllRadioBlocks(true);
                        } else {
                            webAppController.showRadioBlockByValues(["file"], true);
                        }
                    })
                } else {
                    webAppController.showAllRadioBlocks(false);
                }
            } else {
                webAppController.showAllRadioBlocks(false);
            }
        }