From cf4557ed795995d22ab7b3e18e63aff62b1caa9b Mon Sep 17 00:00:00 2001 From: Julian Lam Date: Tue, 4 Feb 2014 11:52:59 -0500 Subject: [PATCH] updated admin template --- static/admin.tpl | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/static/admin.tpl b/static/admin.tpl index b56ef60..b0996da 100644 --- a/static/admin.tpl +++ b/static/admin.tpl @@ -43,7 +43,7 @@
- +
@@ -65,9 +65,12 @@ } else if (value === '2') { $('[data-strategy="1"]').hide(); $('[data-strategy="2"]').show(); + } else { + $('[data-strategy]').hide(); } } + toggleFields(false); $('[data-field="social:oauth:type"]').on('change', function() { toggleFields(this.value); })