mirror of
https://github.com/ether/etherpad-lite.git
synced 2025-04-23 17:06:16 -04:00
Now import/Export works
This commit is contained in:
parent
1fca334704
commit
2920c35c0f
2 changed files with 7 additions and 2 deletions
|
@ -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")
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue