fnp
/
redakcja.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Sexy images in gallery count.
[redakcja.git]
/
redakcja
/
static
/
js
/
wiki
/
view_editor_wysiwyg.js
diff --git
a/redakcja/static/js/wiki/view_editor_wysiwyg.js
b/redakcja/static/js/wiki/view_editor_wysiwyg.js
index
ef087a3
..
34618c4
100644
(file)
--- a/
redakcja/static/js/wiki/view_editor_wysiwyg.js
+++ b/
redakcja/static/js/wiki/view_editor_wysiwyg.js
@@
-43,7
+43,7
@@
return true;
}
return true;
}
- /* Convert HTML frament to plaintext */
+ /* Convert HTML fra
g
ment to plaintext */
var ANNOT_FORBIDDEN = ['pt', 'pa', 'pr', 'pe', 'begin', 'end', 'theme'];
function html2plainText(fragment){
var ANNOT_FORBIDDEN = ['pt', 'pa', 'pr', 'pe', 'begin', 'end', 'theme'];
function html2plainText(fragment){
@@
-97,7
+97,7
@@
range.insertNode(tag[0]);
xml2html({
range.insertNode(tag[0]);
xml2html({
- xml: '<p
r><slowo_obce>' + text + '</slowo_obce> --- </pr
>',
+ xml: '<p
e><slowo_obce>' + text + '</slowo_obce> --- </pe
>',
success: function(text){
var t = $(text);
tag.replaceWith(t);
success: function(text){
var t = $(text);
tag.replaceWith(t);
@@
-226,10
+226,11
@@
}).appendTo($box[0].offsetParent || $box.parent()).show();
if ($origin.is('.motyw')) {
}).appendTo($box[0].offsetParent || $box.parent()).show();
if ($origin.is('.motyw')) {
- $('textarea', $overlay).autocomplete(
THEMES
, {
+ $('textarea', $overlay).autocomplete(
'/themes'
, {
autoFill: true,
multiple: true,
autoFill: true,
multiple: true,
- selectFirst: true
+ selectFirst: true,
+ highlight: false
});
}
});
}