crimagify 0.0.3.4 → 0.0.3.5
Sign up to get free protection for your applications and to get access to all the features.
@@ -67,7 +67,7 @@ $(function(){
|
|
67
67
|
};
|
68
68
|
}
|
69
69
|
});
|
70
|
-
|
70
|
+
/*===== Cancel Crop ======*/
|
71
71
|
$(".nested_crimagify_images").on("click",".cancel_crop",function(evt){
|
72
72
|
evt.preventDefault();
|
73
73
|
$("#cropper_div").hide("slow", function(){
|
@@ -75,18 +75,24 @@ $(function(){
|
|
75
75
|
});
|
76
76
|
$(".nested_uploader").val('');
|
77
77
|
});
|
78
|
-
|
79
|
-
|
78
|
+
$("#cancel_crop").on("click",function(evt){
|
79
|
+
evt.preventDefault();
|
80
|
+
$("#cropper_div").hide("slow", function(){
|
81
|
+
$("#cropper_div").remove();
|
82
|
+
});
|
83
|
+
$(".nested_uploader").val('');
|
84
|
+
});
|
85
|
+
/*====== Crop Image ========*/
|
86
|
+
|
80
87
|
$(".nested_crimagify_images").on("click",".crop_image",function(){
|
81
88
|
//parent_element_id is filled with the value of DIV parent closest: "imgA","imgB","imgZ"
|
82
89
|
parameters($(this));
|
83
90
|
});
|
84
|
-
|
85
|
-
|
86
|
-
|
87
|
-
|
88
|
-
|
89
|
-
// });
|
91
|
+
|
92
|
+
$("#crop_image").on("click",function(){
|
93
|
+
//parent_element_id is filled with the value of DIV parent closest: "imgA","imgB","imgZ"
|
94
|
+
parameters($(this));
|
95
|
+
});
|
90
96
|
});
|
91
97
|
|
92
98
|
|
data/lib/crimagify/version.rb
CHANGED