Allow to copy text in disabled textarea

This commit is contained in:
YFdyh000 2019-01-26 03:38:09 +08:00 committed by sn-o-w
parent 1cd4470a39
commit cfd30ea809
2 changed files with 2 additions and 2 deletions

View File

@ -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')

View File

@ -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')