我试图用kendo编辑器创建图片上传。 我总是得到一个错误:kendo编辑器ReferenceError:没有定义uid
ReferenceError: uid is not defined
...==E&&(E=1),g?(b&&(A+=-b),w&&(I+=-w),e=new Date(Date.UTC(F,D,E,A,I,H,N))):(e=new ...
kendo.web.min.js (Zeile 11)
我使用jQuery 1.8.3和kendoui.web.2013.1.319.open源
我的代码如下:
<div id="example" class="k-content">
<textarea id="editor" rows="10" cols="30" name="reply-content"></textarea>
</div>
<script>
$(document).ready(function() {
$("#editor").kendoEditor({
imageBrowser: {
messages: {
dropFilesHere: "Drop files here"
},
transport: {
read: "/images/ImageBrowser/Read",
destroy: "/images/ImageBrowser/Destroy",
create: "/images/ImageBrowser/Create",
thumbnailUrl: "/images/ImageBrowser/Thumbnail",
uploadUrl: "/images/ImageBrowser/Upload",
imageUrl: "/images/ImageBrowser/Image?path={0}"
}
}
});
});
</script>
有人遇到同样的问题?
相反,读取预计根据“应用程序/ x-WWW的形式,进行了urlencoded”默认的contentType到[文档](http://docs.telerik.com/kendo-ui/api/web/editor#configuration-imageBrowser.transport.read.contentType)。 – 2014-04-30 01:01:11