diff --git a/static/js/pad_editbar.js b/static/js/pad_editbar.js index 2095ab9ad..75cd7402f 100644 --- a/static/js/pad_editbar.js +++ b/static/js/pad_editbar.js @@ -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") diff --git a/static/pad.html b/static/pad.html index 2b85009bc..7177ce69f 100644 --- a/static/pad.html +++ b/static/pad.html @@ -94,7 +94,7 @@ var clientVars = {}; // ]]>
  • + title="Import/Export from/to different document formats">