Skip to content
This repository has been archived by the owner on Jan 6, 2023. It is now read-only.

Commit

Permalink
Merge remote-tracking branch 'origin/dev-1.4.3' into dev-1.4.3
Browse files Browse the repository at this point in the history
  • Loading branch information
carsonxu committed Jun 4, 2014
2 parents dacc92b + fec03db commit 4a25b4a
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 5 deletions.
4 changes: 2 additions & 2 deletions _src/plugins/copy.js
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ UE.plugin.register('copy', function () {

ZeroClipboard.config({
debug: false,
swfPath: me.options.UEDITOR_HOME_URL + '/third-party/zeroclipboard/ZeroClipboard.swf'
swfPath: me.options.UEDITOR_HOME_URL + 'third-party/zeroclipboard/ZeroClipboard.swf'
});

var client = me.zeroclipboard = new ZeroClipboard();
Expand Down Expand Up @@ -45,7 +45,7 @@ UE.plugin.register('copy', function () {
initZeroClipboard();
} else {
utils.loadFile(document, {
src: me.options.UEDITOR_HOME_URL + "/third-party/zeroclipboard/ZeroClipboard.js",
src: me.options.UEDITOR_HOME_URL + "third-party/zeroclipboard/ZeroClipboard.js",
tag: "script",
type: "text/javascript",
defer: "defer"
Expand Down
2 changes: 1 addition & 1 deletion _src/plugins/snapscreen.js
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ UE.plugin.register('snapscreen', function (){

search = a.search;
if (params) {
search = search ? search + params:'?' + params;
search = search + (search.indexOf('?') == -1 ? '?':'&')+ params;
search = search.replace(/[&]+/ig, '&');
}
return {
Expand Down
2 changes: 1 addition & 1 deletion dialogs/background/background.js
Original file line number Diff line number Diff line change
Expand Up @@ -257,7 +257,7 @@

if(!_this.listEnd && !this.isLoadingData) {
this.isLoadingData = true;
var url = editor.getOpt('serverUrl') + '?action=' + editor.getOpt('imageManagerActionName'),
var url = editor.getActionUrl(editor.getOpt('imageManagerActionName')),
isJsonp = utils.isCrossDomainUrl(url);
ajax.request(url, {
'timeout': 100000,
Expand Down
2 changes: 1 addition & 1 deletion dialogs/image/image.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 4a25b4a

Please sign in to comment.