Browse Source

在BI中复制链接的swf路径不对

es6
zcf 8 years ago
parent
commit
50a2e84b67
  1. 2
      docs/demo.js
  2. 2
      src/case/zclip/zclip.js

2
docs/demo.js

@ -7,7 +7,7 @@ BI.i18n = {
}; };
BI.servletURL = "dist/"; BI.servletURL = "dist/";
BI.resourceURL = "dist/resource/"; BI.resourceURL = "dist/resource";
BI.i18n = {};$(function () { BI.i18n = {};$(function () {
var ref; var ref;
BI.createWidget({ BI.createWidget({

2
src/case/zclip/zclip.js

@ -19,7 +19,7 @@ BI.ZeroClip = BI.inherit(BI.BasicButton, {
BI.nextTick(function () { BI.nextTick(function () {
self.element.zclip({ self.element.zclip({
path: BI.resourceURL + "ZeroClipboard.swf", path: BI.resourceURL + "/ZeroClipboard.swf",
copy: o.copy, copy: o.copy,
beforeCopy: o.beforeCopy, beforeCopy: o.beforeCopy,
afterCopy: o.afterCopy afterCopy: o.afterCopy

Loading…
Cancel
Save