Commit c66520f4303107a28db5763dd88fc93579a8173b

Authored by Gustavo
1 parent bbad13ac

Fix'd some issues in the crop resource

Showing 1 changed file with 3 additions and 3 deletions   Show diff stats
users/templates/users/register.html
... ... @@ -64,7 +64,7 @@
64 64 $("#id_y").val(cropData["y"]);
65 65 $("#id_height").val(cropData["height"]);
66 66 $("#id_width").val(cropData["width"]);
67   - $("#formUpload").submit();
  67 + $("#modalCrop").modal('hide');
68 68 });
69 69  
70 70 });
... ... @@ -182,8 +182,8 @@
182 182 <span class="glyphicon glyphicon-zoom-out"></span>
183 183 </button>
184 184 </div>
185   - <button type="button" class="btn btn-default" data-dismiss="modal">Nevermind</button>
186   - <button type="button" class="btn btn-primary js-crop-and-upload">Crop and upload</button>
  185 + <button type="button" class="btn btn-raised btn-default" data-dismiss="modal">{% trans 'Cancel' %}</button>
  186 + <button type="button" class="btn btn-success btn-raised post-button js-crop-and-upload">{% trans 'Crop' %} </button>
187 187 </div>
188 188 </div>
189 189 </div>
... ...