Commit 1dc3fa596a30a8842e65f4653186867d9e46ed2f

Authored by Gabriela Navarro
1 parent b95b5d4b

Hide the template options information

Showing 1 changed file with 5 additions and 0 deletions   Show diff stats
public/views/new-community.js
@@ -8,6 +8,10 @@ modulejs.define("NewCommunity", ['jquery'], function($) { @@ -8,6 +8,10 @@ modulejs.define("NewCommunity", ['jquery'], function($) {
8 function remove_image_builder_text() { 8 function remove_image_builder_text() {
9 $("label:contains('Image builder')").hide(); 9 $("label:contains('Image builder')").hide();
10 } 10 }
  11 +
  12 + function hide_organization_template_fields(){
  13 + $('#template-options').hide();
  14 + }
11 15
12 return { 16 return {
13 17
@@ -18,6 +22,7 @@ modulejs.define("NewCommunity", ['jquery'], function($) { @@ -18,6 +22,7 @@ modulejs.define("NewCommunity", ['jquery'], function($) {
18 init: function() { 22 init: function() {
19 replace_mandatory_message(); 23 replace_mandatory_message();
20 remove_image_builder_text(); 24 remove_image_builder_text();
  25 + hide_organization_template_fields();
21 } 26 }
22 } 27 }
23 }) 28 })