fnp
/
redakcja.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Image editor fix: make sure toolbar content breaks properly for long motif and object...
[redakcja.git]
/
redakcja
/
static
/
js
/
wiki_img
/
view_editor_objects.js
diff --git
a/redakcja/static/js/wiki_img/view_editor_objects.js
b/redakcja/static/js/wiki_img/view_editor_objects.js
index
97d4ba2
..
bd0af09
100644
(file)
--- a/
redakcja/static/js/wiki_img/view_editor_objects.js
+++ b/
redakcja/static/js/wiki_img/view_editor_objects.js
@@
-7,8
+7,8
@@
options.callback = function(){
var self = this;
options.callback = function(){
var self = this;
- self.$tag_name = $('#objects-editor
#
tag-name');
- self.$objects_list = $('#objects-editor
#
objects-list');
+ self.$tag_name = $('#objects-editor
.
tag-name');
+ self.$objects_list = $('#objects-editor
.
objects-list');
self.x1 = null;
self.x2 = null;
self.x1 = null;
self.x2 = null;
@@
-17,7
+17,7
@@
if (!CurrentDocument.readonly) {
self.ias = $('#objects-editor img.area-selectable').imgAreaSelect({ handles: true, onSelectEnd: self._fillCoords(self), instance: true });
if (!CurrentDocument.readonly) {
self.ias = $('#objects-editor img.area-selectable').imgAreaSelect({ handles: true, onSelectEnd: self._fillCoords(self), instance: true });
- $('#objects-editor
#
add').click(self._addObject(self));
+ $('#objects-editor
.
add').click(self._addObject(self));
$('.delete', self.$objects_list).live('click', function() {
$(this).prev().trigger('click');
$('.delete', self.$objects_list).live('click', function() {
$(this).prev().trigger('click');
@@
-68,7
+68,7
@@
if (x1 !== null)
$e.data('coords', [x1, y1, x2, y2]);
this.$objects_list.append($e);
if (x1 !== null)
$e.data('coords', [x1, y1, x2, y2]);
this.$objects_list.append($e);
- this.$objects_list.append('<span class="delete">(x)</span>');
+ this.$objects_list.append('<span class="delete">(x)
</span>');
}
}