diff --git a/omega-web/src/partials/profile_pac.jade b/omega-web/src/partials/profile_pac.jade index 9367e24..9e445f5 100644 --- a/omega-web/src/partials/profile_pac.jade +++ b/omega-web/src/partials/profile_pac.jade @@ -37,4 +37,4 @@ div(ng-controller='PacProfileCtrl') p.alert.alert-danger.width-limit(ng-show='profile.pacUrl && !profile.lastUpdate') | {{'options_pacScriptObsolete' | tr}} textarea.monospace.form-control.width-limit(ng-model='profile.pacScript' rows=20 - ng-disabled='pacUrlCtrl.ctrl.$invalid || !!profile.pacUrl') + ng-readonly='pacUrlCtrl.ctrl.$invalid || !!profile.pacUrl') diff --git a/omega-web/src/partials/profile_rule_list.jade b/omega-web/src/partials/profile_rule_list.jade index 1d895ce..e9e489a 100644 --- a/omega-web/src/partials/profile_rule_list.jade +++ b/omega-web/src/partials/profile_rule_list.jade @@ -28,5 +28,5 @@ div(ng-controller='RuleListProfileCtrl') ladda='updatingProfile[profile.name]' data-spinner-color="#000000") | #[span.glyphicon.glyphicon-download-alt] {{'options_downloadProfileNow' | tr}} textarea.monospace.form-control.width-limit(ng-model='profile.ruleList' rows=20 - ng-disabled='!!profile.sourceUrl') + ng-readonly='!!profile.sourceUrl')