Now import/Export works

This commit is contained in:
John McLear 2011-07-20 17:33:27 +01:00
parent 1fca334704
commit 2920c35c0f
2 changed files with 7 additions and 2 deletions

View file

@ -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")