You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
18 lines
484 B
18 lines
484 B
kodReady.push(function(){
|
|
kodApp.add({
|
|
name:"officeLive",
|
|
title:"{{LNG.officeLive.meta.name}}",
|
|
icon:'{{pluginHost}}static/images/icon.png',
|
|
ext:"{{config.fileExt}}",
|
|
sort:"{{config.fileSort}}",
|
|
callback:function(path,ext){
|
|
var url = '{{pluginApi}}&path='+core.pathCommon(path);
|
|
if('window' == "{{config.openWith}}" && !core.isFileView() ){
|
|
window.open(url);
|
|
}else{
|
|
core.openDialog(url,core.icon(ext),htmlEncode(core.pathThis(path)));
|
|
}
|
|
}
|
|
});
|
|
});
|