app/views/crimagify/cropper/partial_cropper.js.erb in crimagify-0.0.4.1 vs app/views/crimagify/cropper/partial_cropper.js.erb in crimagify-0.0.4.2
- old
+ new
@@ -1,7 +1,7 @@
if ($("#<%=j @params[:parent_element_id] %>").find(".parent_image").length) {
if (!$("#<%=j @params[:parent_element_id] %>").find("#cropper_div").length){
$("#<%=j @params[:parent_element_id] %>").find(".parent_image").append("<%=j render :partial => '/crimagify/crop_partials/crop', :object => '@params' %>");
}
} else{
- console.log("por favor agregue el elemento")
+ console.log("Please, select one file!")
};
\ No newline at end of file