cobweb 0.0.38 → 0.0.39
Sign up to get free protection for your applications and to get access to all the features.
- data/README.textile +1 -1
- data/lib/cobweb.rb +3 -1
- data/lib/cobweb_crawler.rb +98 -100
- data/lib/crawl_job.rb +3 -4
- data/lib/server.rb +98 -0
- data/lib/stats.rb +141 -64
- data/public/css/accordion.css +45 -0
- data/public/css/custom.css +13 -0
- data/public/css/datatable.css +189 -0
- data/public/css/datepicker.css +171 -0
- data/public/css/form-buttons.css +180 -0
- data/public/css/forms.css +489 -0
- data/public/css/jquery.fancybox-1.3.4.css +282 -0
- data/public/css/jquery.treeview.css +103 -0
- data/public/css/link-buttons.css +187 -0
- data/public/css/login.css +110 -0
- data/public/css/menu.css +156 -0
- data/public/css/messages.css +58 -0
- data/public/css/modalbox.css +63 -0
- data/public/css/statics.css +57 -0
- data/public/css/style.css +497 -0
- data/public/css/style_text.css +128 -0
- data/public/css/tabs.css +58 -0
- data/public/css/wysiwyg-editor.css +18 -0
- data/public/css/wysiwyg.css +149 -0
- data/public/css/wysiwyg.modal.css +69 -0
- data/public/gfx/back-menu.gif +0 -0
- data/public/gfx/back-submenu.gif +0 -0
- data/public/gfx/background.gif +0 -0
- data/public/gfx/box-hide.png +0 -0
- data/public/gfx/box-search.png +0 -0
- data/public/gfx/box-title.gif +0 -0
- data/public/gfx/code.gif +0 -0
- data/public/gfx/datepicker-arrows.gif +0 -0
- data/public/gfx/fancybox/blank.gif +0 -0
- data/public/gfx/fancybox/fancy_close.png +0 -0
- data/public/gfx/fancybox/fancy_loading.png +0 -0
- data/public/gfx/fancybox/fancy_nav_left.png +0 -0
- data/public/gfx/fancybox/fancy_nav_right.png +0 -0
- data/public/gfx/fancybox/fancy_title_left.png +0 -0
- data/public/gfx/fancybox/fancy_title_main.png +0 -0
- data/public/gfx/fancybox/fancy_title_over.png +0 -0
- data/public/gfx/fancybox/fancy_title_right.png +0 -0
- data/public/gfx/fancybox/fancybox-x.png +0 -0
- data/public/gfx/fancybox/fancybox.png +0 -0
- data/public/gfx/forms/date-next.gif +0 -0
- data/public/gfx/forms/date-prev.gif +0 -0
- data/public/gfx/forms/forms-checkbox.gif +0 -0
- data/public/gfx/forms/forms-date.gif +0 -0
- data/public/gfx/forms/forms-file.gif +0 -0
- data/public/gfx/forms/forms-input-big.gif +0 -0
- data/public/gfx/forms/forms-input-medium.gif +0 -0
- data/public/gfx/forms/forms-input-small.gif +0 -0
- data/public/gfx/forms/forms-input-xl.gif +0 -0
- data/public/gfx/forms/forms-radio.gif +0 -0
- data/public/gfx/forms/forms-selectbox-small.gif +0 -0
- data/public/gfx/forms/forms-selectbox.gif +0 -0
- data/public/gfx/forms/forms-textarea-big.gif +0 -0
- data/public/gfx/forms/forms-textarea-medium.gif +0 -0
- data/public/gfx/forms/forms-textarea-small.gif +0 -0
- data/public/gfx/forms/forms-textarea-xl.gif +0 -0
- data/public/gfx/icon-delete.png +0 -0
- data/public/gfx/icon-edit.png +0 -0
- data/public/gfx/icon-home.gif +0 -0
- data/public/gfx/img-delete.png +0 -0
- data/public/gfx/img-hover.png +0 -0
- data/public/gfx/img-zoom.png +0 -0
- data/public/gfx/jquery.wysiwyg.gif +0 -0
- data/public/gfx/label-icons.gif +0 -0
- data/public/gfx/label.gif +0 -0
- data/public/gfx/li-down.gif +0 -0
- data/public/gfx/li.gif +0 -0
- data/public/gfx/link-button-big.gif +0 -0
- data/public/gfx/link-button-medium.gif +0 -0
- data/public/gfx/link-button.gif +0 -0
- data/public/gfx/loading-2.gif +0 -0
- data/public/gfx/loading.gif +0 -0
- data/public/gfx/logo.png +0 -0
- data/public/gfx/modal-title.gif +0 -0
- data/public/gfx/photos/00.jpg +0 -0
- data/public/gfx/photos/01.jpg +0 -0
- data/public/gfx/photos/01xl.jpg +0 -0
- data/public/gfx/photos/02.jpg +0 -0
- data/public/gfx/photos/02xl.jpg +0 -0
- data/public/gfx/photos/03.jpg +0 -0
- data/public/gfx/photos/03xl.jpg +0 -0
- data/public/gfx/photos/04.jpg +0 -0
- data/public/gfx/photos/04xl.jpg +0 -0
- data/public/gfx/photos/05.jpg +0 -0
- data/public/gfx/photos/05xl.jpg +0 -0
- data/public/gfx/photos/06.jpg +0 -0
- data/public/gfx/photos/06xl.jpg +0 -0
- data/public/gfx/photos/07.jpg +0 -0
- data/public/gfx/photos/07xl.jpg +0 -0
- data/public/gfx/photos/08.jpg +0 -0
- data/public/gfx/photos/08xl.jpg +0 -0
- data/public/gfx/photos/09.jpg +0 -0
- data/public/gfx/photos/09xl.jpg +0 -0
- data/public/gfx/photos/10.jpg +0 -0
- data/public/gfx/photos/10xl.jpg +0 -0
- data/public/gfx/photos/11.jpg +0 -0
- data/public/gfx/photos/11xl.jpg +0 -0
- data/public/gfx/photos/12.jpg +0 -0
- data/public/gfx/photos/12xl.jpg +0 -0
- data/public/gfx/photos/13.jpg +0 -0
- data/public/gfx/photos/13xl.jpg +0 -0
- data/public/gfx/photos/14.jpg +0 -0
- data/public/gfx/photos/14xl.jpg +0 -0
- data/public/gfx/photos/15.jpg +0 -0
- data/public/gfx/photos/15xl.jpg +0 -0
- data/public/gfx/search-button.gif +0 -0
- data/public/gfx/search-input.gif +0 -0
- data/public/gfx/slider-button.gif +0 -0
- data/public/gfx/system-messages.gif +0 -0
- data/public/gfx/table-asc-arrow.gif +0 -0
- data/public/gfx/table-desc-arrow.gif +0 -0
- data/public/gfx/table-first.gif +0 -0
- data/public/gfx/table-last.gif +0 -0
- data/public/gfx/table-next.gif +0 -0
- data/public/gfx/table-number.gif +0 -0
- data/public/gfx/table-prev.gif +0 -0
- data/public/gfx/table-rows.gif +0 -0
- data/public/gfx/table-search.gif +0 -0
- data/public/gfx/table-thead.gif +0 -0
- data/public/gfx/tooltip.gif +0 -0
- data/public/gfx/treeview/ajax-loader.gif +0 -0
- data/public/gfx/treeview/file.gif +0 -0
- data/public/gfx/treeview/folder-closed.gif +0 -0
- data/public/gfx/treeview/folder.gif +0 -0
- data/public/gfx/treeview/minus.gif +0 -0
- data/public/gfx/treeview/plus.gif +0 -0
- data/public/gfx/treeview/treeview-default-line.gif +0 -0
- data/public/gfx/treeview/treeview-default.gif +0 -0
- data/public/js/controls/wysiwyg.image.js +284 -0
- data/public/js/controls/wysiwyg.link.js +210 -0
- data/public/js/controls/wysiwyg.table.js +151 -0
- data/public/js/customInput.jquery.js +68 -0
- data/public/js/excanvas.min.js +1 -0
- data/public/js/hoverIntent.js +84 -0
- data/public/js/inline.js +392 -0
- data/public/js/jquery-1.7.1.min.js +4 -0
- data/public/js/jquery-ui-select.js +522 -0
- data/public/js/jquery-ui-timepicker-addon.js +1299 -0
- data/public/js/jquery-ui.js +791 -0
- data/public/js/jquery.dataTables.js +7440 -0
- data/public/js/jquery.fancybox-1.3.4.js +1156 -0
- data/public/js/jquery.filestyle.mini.js +2 -0
- data/public/js/jquery.flot.js +2600 -0
- data/public/js/jquery.flot.resize.min.js +60 -0
- data/public/js/jquery.graphtable-0.2.js +179 -0
- data/public/js/jquery.tipsy.js +104 -0
- data/public/js/jquery.treeview.js +256 -0
- data/public/js/jquery.wysiwyg.js +2454 -0
- data/public/js/plugins/wysiwyg.rmFormat.js +348 -0
- data/public/js/superfish.js +121 -0
- data/public/js/supersubs.js +90 -0
- data/views/home.haml +54 -0
- data/views/layout.haml +89 -0
- data/views/statistics.haml +251 -71
- metadata +175 -22
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
data/public/gfx/li.gif
ADDED
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
data/public/gfx/logo.png
ADDED
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
@@ -0,0 +1,284 @@
|
|
1
|
+
/**
|
2
|
+
* Controls: Image plugin
|
3
|
+
*
|
4
|
+
* Depends on jWYSIWYG
|
5
|
+
*/
|
6
|
+
(function ($) {
|
7
|
+
"use strict";
|
8
|
+
|
9
|
+
if (undefined === $.wysiwyg) {
|
10
|
+
throw "wysiwyg.image.js depends on $.wysiwyg";
|
11
|
+
}
|
12
|
+
|
13
|
+
if (!$.wysiwyg.controls) {
|
14
|
+
$.wysiwyg.controls = {};
|
15
|
+
}
|
16
|
+
|
17
|
+
/*
|
18
|
+
* Wysiwyg namespace: public properties and methods
|
19
|
+
*/
|
20
|
+
$.wysiwyg.controls.image = {
|
21
|
+
groupIndex: 6,
|
22
|
+
visible: true,
|
23
|
+
exec: function () {
|
24
|
+
$.wysiwyg.controls.image.init(this);
|
25
|
+
},
|
26
|
+
tags: ["img"],
|
27
|
+
tooltip: "Insert image",
|
28
|
+
init: function (Wysiwyg) {
|
29
|
+
var self = this, elements, adialog, dialog, formImageHtml, regexp, dialogReplacements, key, translation,
|
30
|
+
img = {
|
31
|
+
alt: "",
|
32
|
+
self: Wysiwyg.dom ? Wysiwyg.dom.getElement("img") : null, // link to element node
|
33
|
+
src: "http://",
|
34
|
+
title: ""
|
35
|
+
};
|
36
|
+
|
37
|
+
dialogReplacements = {
|
38
|
+
legend : "Insert Image",
|
39
|
+
preview : "Preview",
|
40
|
+
url : "URL",
|
41
|
+
title : "Title",
|
42
|
+
description : "Description",
|
43
|
+
width : "Width",
|
44
|
+
height : "Height",
|
45
|
+
original : "Original W x H",
|
46
|
+
"float" : "Float",
|
47
|
+
floatNone : "None",
|
48
|
+
floatLeft : "Left",
|
49
|
+
floatRight : "Right",
|
50
|
+
submit : "Insert Image",
|
51
|
+
reset : "Cancel",
|
52
|
+
fileManagerIcon : "Select file from server"
|
53
|
+
};
|
54
|
+
|
55
|
+
formImageHtml = '<form class="wysiwyg" id="wysiwyg-addImage"><fieldset>' +
|
56
|
+
//'<div class="form-row"><label>{preview}:</label><div class="form-row-value"><img src="gfx/wysiwyg-preview.gif" alt="{preview}" style="max-width: 180px; overflow:hidden; max-height: 135px;"/></div></div>' +
|
57
|
+
'<div class="form-row"><label for="name">{url}:</label><div class="form-row-value"><input type="text" name="src" value=""/>';
|
58
|
+
|
59
|
+
if ($.wysiwyg.fileManager && $.wysiwyg.fileManager.ready) {
|
60
|
+
// Add the File Manager icon:
|
61
|
+
formImageHtml += '<div class="wysiwyg-fileManager" title="{fileManagerIcon}"/>';
|
62
|
+
}
|
63
|
+
|
64
|
+
formImageHtml += '</div></div>' +
|
65
|
+
'<div class="form-row"><label for="name">{title}:</label><div class="form-row-value"><input type="text" name="imgtitle" value=""/></div></div>' +
|
66
|
+
'<div class="form-row"><label for="name">{description}:</label><div class="form-row-value"><input type="text" name="description" value=""/></div></div>' +
|
67
|
+
'<div class="form-row"><label for="name">{width} x {height}:</label><div class="form-row-value"><input type="text" class="tiny" name="width" value="" /> x <input type="text" class="tiny" name="height" value="" class="width-small"/></div></div>' +
|
68
|
+
'<div class="form-row"><label for="name">{original}:</label><div class="form-row-value"><input type="text" class="tiny" name="naturalWidth" value="" disabled="disabled"/> x ' +
|
69
|
+
'<input type="text" class="tiny" name="naturalHeight" value="" disabled="disabled"/></div></div>' +
|
70
|
+
'<div class="form-row"><label for="name">{float}:</label><div class="form-row-value"><select name="float">' +
|
71
|
+
'<option value="">{floatNone}</option>' +
|
72
|
+
'<option value="left">{floatLeft}</option>' +
|
73
|
+
'<option value="right">{floatRight}</option></select></div></div>' +
|
74
|
+
'<div class="form-row form-row-last"><label for="name"></label><div class="form-row-value"><button type="submit" class="green medium" value="{submit}"><span>Sumbit</span></button> ' +
|
75
|
+
'<button type="submit" class="red medium" value="{reset}"><span>Reset</span></button></div></div></fieldset></form>';
|
76
|
+
|
77
|
+
for (key in dialogReplacements) {
|
78
|
+
if ($.wysiwyg.i18n) {
|
79
|
+
translation = $.wysiwyg.i18n.t(dialogReplacements[key], "dialogs.image");
|
80
|
+
|
81
|
+
if (translation === dialogReplacements[key]) { // if not translated search in dialogs
|
82
|
+
translation = $.wysiwyg.i18n.t(dialogReplacements[key], "dialogs");
|
83
|
+
}
|
84
|
+
|
85
|
+
dialogReplacements[key] = translation;
|
86
|
+
}
|
87
|
+
|
88
|
+
regexp = new RegExp("{" + key + "}", "g");
|
89
|
+
formImageHtml = formImageHtml.replace(regexp, dialogReplacements[key]);
|
90
|
+
}
|
91
|
+
|
92
|
+
if (img.self) {
|
93
|
+
img.src = img.self.src ? img.self.src : "";
|
94
|
+
img.alt = img.self.alt ? img.self.alt : "";
|
95
|
+
img.title = img.self.title ? img.self.title : "";
|
96
|
+
img.width = img.self.width ? img.self.width : "";
|
97
|
+
img.height = img.self.height ? img.self.height : "";
|
98
|
+
img.styleFloat = $(img.self).css("float");
|
99
|
+
}
|
100
|
+
|
101
|
+
adialog = new $.wysiwyg.dialog(Wysiwyg, {
|
102
|
+
"title" : dialogReplacements.legend,
|
103
|
+
"content" : formImageHtml
|
104
|
+
});
|
105
|
+
|
106
|
+
$(adialog).bind("afterOpen", function (e, dialog) {
|
107
|
+
dialog.find("form#wysiwyg-addImage").submit(function (e) {
|
108
|
+
e.preventDefault();
|
109
|
+
self.processInsert(dialog.container, Wysiwyg, img);
|
110
|
+
|
111
|
+
adialog.close();
|
112
|
+
return false;
|
113
|
+
});
|
114
|
+
|
115
|
+
// File Manager (select file):
|
116
|
+
if ($.wysiwyg.fileManager) {
|
117
|
+
$("div.wysiwyg-fileManager").bind("click", function () {
|
118
|
+
$.wysiwyg.fileManager.init(function (selected) {
|
119
|
+
dialog.find("input[name=src]").val(selected);
|
120
|
+
dialog.find("input[name=src]").trigger("change");
|
121
|
+
});
|
122
|
+
});
|
123
|
+
}
|
124
|
+
|
125
|
+
$("input:reset", dialog).click(function (e) {
|
126
|
+
adialog.close();
|
127
|
+
|
128
|
+
return false;
|
129
|
+
});
|
130
|
+
|
131
|
+
$("fieldset", dialog).click(function (e) {
|
132
|
+
e.stopPropagation();
|
133
|
+
});
|
134
|
+
|
135
|
+
self.makeForm(dialog, img);
|
136
|
+
});
|
137
|
+
|
138
|
+
adialog.open();
|
139
|
+
|
140
|
+
$(Wysiwyg.editorDoc).trigger("editorRefresh.wysiwyg");
|
141
|
+
},
|
142
|
+
|
143
|
+
processInsert: function (context, Wysiwyg, img) {
|
144
|
+
var image,
|
145
|
+
url = $('input[name="src"]', context).val(),
|
146
|
+
title = $('input[name="imgtitle"]', context).val(),
|
147
|
+
description = $('input[name="description"]', context).val(),
|
148
|
+
width = $('input[name="width"]', context).val(),
|
149
|
+
height = $('input[name="height"]', context).val(),
|
150
|
+
styleFloat = $('select[name="float"]', context).val(),
|
151
|
+
styles = [],
|
152
|
+
style = "",
|
153
|
+
found,
|
154
|
+
baseUrl;
|
155
|
+
|
156
|
+
if (Wysiwyg.options.controlImage && Wysiwyg.options.controlImage.forceRelativeUrls) {
|
157
|
+
baseUrl = window.location.protocol + "//" + window.location.hostname;
|
158
|
+
if (0 === url.indexOf(baseUrl)) {
|
159
|
+
url = url.substr(baseUrl.length);
|
160
|
+
}
|
161
|
+
}
|
162
|
+
|
163
|
+
if (img.self) {
|
164
|
+
// to preserve all img attributes
|
165
|
+
$(img.self).attr("src", url)
|
166
|
+
.attr("title", title)
|
167
|
+
.attr("alt", description)
|
168
|
+
.css("float", styleFloat);
|
169
|
+
|
170
|
+
if (width.toString().match(/^[0-9]+(px|%)?$/)) {
|
171
|
+
$(img.self).css("width", width);
|
172
|
+
} else {
|
173
|
+
$(img.self).css("width", "");
|
174
|
+
}
|
175
|
+
|
176
|
+
if (height.toString().match(/^[0-9]+(px|%)?$/)) {
|
177
|
+
$(img.self).css("height", height);
|
178
|
+
} else {
|
179
|
+
$(img.self).css("height", "");
|
180
|
+
}
|
181
|
+
|
182
|
+
Wysiwyg.saveContent();
|
183
|
+
} else {
|
184
|
+
found = width.toString().match(/^[0-9]+(px|%)?$/);
|
185
|
+
if (found) {
|
186
|
+
if (found[1]) {
|
187
|
+
styles.push("width: " + width + ";");
|
188
|
+
} else {
|
189
|
+
styles.push("width: " + width + "px;");
|
190
|
+
}
|
191
|
+
}
|
192
|
+
|
193
|
+
found = height.toString().match(/^[0-9]+(px|%)?$/);
|
194
|
+
if (found) {
|
195
|
+
if (found[1]) {
|
196
|
+
styles.push("height: " + height + ";");
|
197
|
+
} else {
|
198
|
+
styles.push("height: " + height + "px;");
|
199
|
+
}
|
200
|
+
}
|
201
|
+
|
202
|
+
if (styleFloat.length > 0) {
|
203
|
+
styles.push("float: " + styleFloat + ";");
|
204
|
+
}
|
205
|
+
|
206
|
+
if (styles.length > 0) {
|
207
|
+
style = ' style="' + styles.join(" ") + '"';
|
208
|
+
}
|
209
|
+
|
210
|
+
image = "<img src='" + url + "' title='" + title + "' alt='" + description + "'" + style + "/>";
|
211
|
+
Wysiwyg.insertHtml(image);
|
212
|
+
}
|
213
|
+
},
|
214
|
+
|
215
|
+
makeForm: function (form, img) {
|
216
|
+
form.find("input[name=src]").val(img.src);
|
217
|
+
form.find("input[name=imgtitle]").val(img.title);
|
218
|
+
form.find("input[name=description]").val(img.alt);
|
219
|
+
form.find('input[name="width"]').val(img.width);
|
220
|
+
form.find('input[name="height"]').val(img.height);
|
221
|
+
form.find('select[name="float"]').val(img.styleFloat);
|
222
|
+
form.find('img').attr("src", img.src);
|
223
|
+
|
224
|
+
form.find('img').bind("load", function () {
|
225
|
+
if (form.find('img').get(0).naturalWidth) {
|
226
|
+
form.find('input[name="naturalWidth"]').val(form.find('img').get(0).naturalWidth);
|
227
|
+
form.find('input[name="naturalHeight"]').val(form.find('img').get(0).naturalHeight);
|
228
|
+
} else if (form.find('img').attr("naturalWidth")) {
|
229
|
+
form.find('input[name="naturalWidth"]').val(form.find('img').attr("naturalWidth"));
|
230
|
+
form.find('input[name="naturalHeight"]').val(form.find('img').attr("naturalHeight"));
|
231
|
+
}
|
232
|
+
});
|
233
|
+
|
234
|
+
form.find("input[name=src]").bind("change", function () {
|
235
|
+
form.find('img').attr("src", this.value);
|
236
|
+
});
|
237
|
+
|
238
|
+
return form;
|
239
|
+
}
|
240
|
+
};
|
241
|
+
|
242
|
+
$.wysiwyg.insertImage = function (object, url, attributes) {
|
243
|
+
return object.each(function () {
|
244
|
+
var Wysiwyg = $(this).data("wysiwyg"),
|
245
|
+
image,
|
246
|
+
attribute;
|
247
|
+
|
248
|
+
if (!Wysiwyg) {
|
249
|
+
return this;
|
250
|
+
}
|
251
|
+
|
252
|
+
if (!url || url.length === 0) {
|
253
|
+
return this;
|
254
|
+
}
|
255
|
+
|
256
|
+
if ($.browser.msie) {
|
257
|
+
Wysiwyg.ui.focus();
|
258
|
+
}
|
259
|
+
|
260
|
+
if (attributes) {
|
261
|
+
Wysiwyg.editorDoc.execCommand("insertImage", false, "#jwysiwyg#");
|
262
|
+
image = Wysiwyg.getElementByAttributeValue("img", "src", "#jwysiwyg#");
|
263
|
+
|
264
|
+
if (image) {
|
265
|
+
image.src = url;
|
266
|
+
|
267
|
+
for (attribute in attributes) {
|
268
|
+
if (attributes.hasOwnProperty(attribute)) {
|
269
|
+
image.setAttribute(attribute, attributes[attribute]);
|
270
|
+
}
|
271
|
+
}
|
272
|
+
}
|
273
|
+
} else {
|
274
|
+
Wysiwyg.editorDoc.execCommand("insertImage", false, url);
|
275
|
+
}
|
276
|
+
|
277
|
+
Wysiwyg.saveContent();
|
278
|
+
|
279
|
+
$(Wysiwyg.editorDoc).trigger("editorRefresh.wysiwyg");
|
280
|
+
|
281
|
+
return this;
|
282
|
+
});
|
283
|
+
};
|
284
|
+
})(jQuery);
|