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 @@ ...@@ -47,7 +47,7 @@
<li class="powerpoint left-nav-tools"> <li class="powerpoint left-nav-tools">
<a href="#/powerpoint" <a href="#/powerpoint"
onclick="javascript: onclick="javascript:
OfficeJS.open({app:'power_point'}); OfficeJS.open({app:'present_slides'});
return false;"> return false;">
<i class="icon-facetime-video"></i> <i class="icon-facetime-video"></i>
New Presentation New Presentation
......
...@@ -22,7 +22,7 @@ ...@@ -22,7 +22,7 @@
text_editor:'elrte', text_editor:'elrte',
img_editor:'svg-edit', img_editor:'svg-edit',
spreadsheet:'jquery-sheet', spreadsheet:'jquery-sheet',
power_point:'power-point' present_slides:'present-slides'
}; };
priv.app_object = { priv.app_object = {
topnavbar: { topnavbar: {
...@@ -168,11 +168,11 @@ ...@@ -168,11 +168,11 @@
}); });
} }
}, },
'power-point': { 'present-slides': {
type:'editor', type:'editor',
path:'component/slideshow.html', path:'component/slideshow.html',
gadget_id:'page-content', gadget_id:'page-content',
ext:'ppt', ext:'prs',
frameid:'svg_edit_frame', frameid:'svg_edit_frame',
getContent: function () { getContent: function () {
return getSlidesContent(); return getSlidesContent();
...@@ -215,7 +215,7 @@ ...@@ -215,7 +215,7 @@
icon:'<i class="icon-font"></i>'}, icon:'<i class="icon-font"></i>'},
svg:{pref:'img_editor',app:'svg-edit', svg:{pref:'img_editor',app:'svg-edit',
icon:'<i class="icon-pencil"></i>'}, 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>'}, icon:'<i class="icon-facetime-video"></i>'},
jqs:{app:'jquery-sheet', jqs:{app:'jquery-sheet',
icon:'<i class="icon-signal"></i>'} 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