[PATCH conductor] BZ 783904 PA quota when updated to unlimited, text should be automatically set to Unlimited.
jzigmund at redhat.com
jzigmund at redhat.com
Mon Feb 6 18:04:02 UTC 2012
From: Jozef Zigmund <jzigmund at redhat.com>
https://bugzilla.redhat.com/show_bug.cgi?id=783904
---
.../provider_accounts/_provider_form.html.haml | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/src/app/views/provider_accounts/_provider_form.html.haml b/src/app/views/provider_accounts/_provider_form.html.haml
index 56b7e74..90c2f47 100644
--- a/src/app/views/provider_accounts/_provider_form.html.haml
+++ b/src/app/views/provider_accounts/_provider_form.html.haml
@@ -21,11 +21,11 @@
= label_tag t("quotas.quota")
= text_field :quota, :maximum_running_instances, :title => t('provider_accounts.form.quota_instances'), :value => @quota.maximum_running_instances || t('provider_accounts.properties.unlimited'), :id => "quota_instances"
(
- %button.linkbutton.nospace{ :type => 'button', :onclick => "set_unlimited_quota(\"quota_instances\");" }<>
+ %button.linkbutton.nospace{ :type => 'button', :onclick => "set_unlimited_quota(\"quota_instances\");" }
= t('provider_accounts.form.unlimited_quota')
)
:javascript
function set_unlimited_quota(elem_id) {
- $("#" + elem_id)[0].value = t('provider_accounts.properties.unlimited');
+ $("#" + elem_id)[0].value = "#{t('provider_accounts.properties.unlimited')}";
}
--
1.7.7.6
More information about the aeolus-devel
mailing list