Commit b95b5d4b201d89de6ecb81306346cf66e1c24a5c

Authored by Luciano Prestes
1 parent 413758db

Remove text 'Image builder' into create community

Signed-off-by: Fabio Teixeira <fabio1079@gmail.com>
Signed-off-by: Luciano Prestes <lucianopcbr@gmail.com>
Showing 1 changed file with 7 additions and 2 deletions   Show diff stats
public/views/new-community.js
1   -modulejs.define("NewCommunity", ['jquery'], function($){
  1 +modulejs.define("NewCommunity", ['jquery'], function($) {
2 2  
3   - function replace_mandatory_message(){
  3 + function replace_mandatory_message() {
4 4 $(".required-field").first()
5 5 .replaceWith("<span class='required-field'> Os campos em destaque<label class='pseudoformlabel'> (*)</label> são obrigatórios. </span>");
6 6 }
7 7  
  8 + function remove_image_builder_text() {
  9 + $("label:contains('Image builder')").hide();
  10 + }
  11 +
8 12 return {
9 13  
10 14 isCurrentPage: function() {
... ... @@ -13,6 +17,7 @@ modulejs.define(&quot;NewCommunity&quot;, [&#39;jquery&#39;], function($){
13 17  
14 18 init: function() {
15 19 replace_mandatory_message();
  20 + remove_image_builder_text();
16 21 }
17 22 }
18 23 })
... ...