Now import/Export works
parent
1fca334704
commit
2920c35c0f
|
@ -105,6 +105,11 @@ var padeditbar = (function()
|
|||
self.toogleDropDown("embed");
|
||||
$('#embedinput').focus().select();
|
||||
}
|
||||
else if (cmd == 'import_export')
|
||||
{
|
||||
self.toogleDropDown("importexport");
|
||||
}
|
||||
|
||||
else if (cmd == 'readonly')
|
||||
{
|
||||
var basePath = document.location.href.substring(0, document.location.href.indexOf("/p/"));
|
||||
|
@ -158,7 +163,7 @@ var padeditbar = (function()
|
|||
},
|
||||
toogleDropDown: function(moduleName)
|
||||
{
|
||||
var modules = ["embed", "users", "readonly"];
|
||||
var modules = ["embed", "users", "readonly", "importexport"];
|
||||
|
||||
//hide all modules
|
||||
if(moduleName == "none")
|
||||
|
|
|
@ -94,7 +94,7 @@ var clientVars = {}; // ]]>
|
|||
</li>
|
||||
<li>
|
||||
<a onClick="window.pad&&pad.editbarClick('import_export');return false;"
|
||||
title="(Placeholder, not implemented so far) Import/Export from/to different document formats">
|
||||
title="Import/Export from/to different document formats">
|
||||
<img src="../static/img/editbar_import_export.gif" width="16" height="16" />
|
||||
</a>
|
||||
</li>
|
||||
|
|
Loading…
Reference in New Issue