Commit c66520f4303107a28db5763dd88fc93579a8173b
1 parent
bbad13ac
Exists in
master
and in
3 other branches
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,7 +64,7 @@ | ||
| 64 | $("#id_y").val(cropData["y"]); | 64 | $("#id_y").val(cropData["y"]); |
| 65 | $("#id_height").val(cropData["height"]); | 65 | $("#id_height").val(cropData["height"]); |
| 66 | $("#id_width").val(cropData["width"]); | 66 | $("#id_width").val(cropData["width"]); |
| 67 | - $("#formUpload").submit(); | 67 | + $("#modalCrop").modal('hide'); |
| 68 | }); | 68 | }); |
| 69 | 69 | ||
| 70 | }); | 70 | }); |
| @@ -182,8 +182,8 @@ | @@ -182,8 +182,8 @@ | ||
| 182 | <span class="glyphicon glyphicon-zoom-out"></span> | 182 | <span class="glyphicon glyphicon-zoom-out"></span> |
| 183 | </button> | 183 | </button> |
| 184 | </div> | 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 | </div> | 187 | </div> |
| 188 | </div> | 188 | </div> |
| 189 | </div> | 189 | </div> |