Commit a2d1b01d authored by Lingnan Wu's avatar Lingnan Wu

Debug : change all the things related to powerpoint to presentation

parent 455d3b1c
......@@ -47,7 +47,7 @@
<li class="powerpoint left-nav-tools">
<a href="#/powerpoint"
onclick="javascript:
OfficeJS.open({app:'power_point'});
OfficeJS.open({app:'present_slides'});
return false;">
<i class="icon-facetime-video"></i>
New Presentation
......
......@@ -22,7 +22,7 @@
text_editor:'elrte',
img_editor:'svg-edit',
spreadsheet:'jquery-sheet',
power_point:'power-point'
present_slides:'present-slides'
};
priv.app_object = {
topnavbar: {
......@@ -168,11 +168,11 @@
});
}
},
'power-point': {
'present-slides': {
type:'editor',
path:'component/slideshow.html',
gadget_id:'page-content',
ext:'ppt',
ext:'prs',
frameid:'svg_edit_frame',
getContent: function () {
return getSlidesContent();
......@@ -215,7 +215,7 @@
icon:'<i class="icon-font"></i>'},
svg:{pref:'img_editor',app:'svg-edit',
icon:'<i class="icon-pencil"></i>'},
ppt:{pref:'power_point',app:'power-point',
prs:{pref:'present_slides',app:'present-slides',
icon:'<i class="icon-facetime-video"></i>'},
jqs:{app:'jquery-sheet',
icon:'<i class="icon-signal"></i>'}
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment