Fix typo.
This commit is contained in:
parent
6da6a7f0d8
commit
9e9cbd5ffa
|
@ -3237,7 +3237,7 @@ function Ace2Inner(){
|
||||||
}
|
}
|
||||||
//hide the dropdownso
|
//hide the dropdownso
|
||||||
if(window.parent.parent.padeditbar){ // required in case its in an iframe should probably use parent.. See Issue 327 https://github.com/Pita/etherpad-lite/issues/327
|
if(window.parent.parent.padeditbar){ // required in case its in an iframe should probably use parent.. See Issue 327 https://github.com/Pita/etherpad-lite/issues/327
|
||||||
window.parent.parent.padeditbar.toogleDropDown("none");
|
window.parent.parent.padeditbar.toggleDropDown("none");
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -122,25 +122,25 @@ var padeditbar = (function()
|
||||||
{
|
{
|
||||||
if(cmd == "showusers")
|
if(cmd == "showusers")
|
||||||
{
|
{
|
||||||
self.toogleDropDown("users");
|
self.toggleDropDown("users");
|
||||||
}
|
}
|
||||||
else if (cmd == 'settings')
|
else if (cmd == 'settings')
|
||||||
{
|
{
|
||||||
self.toogleDropDown("settings");
|
self.toggleDropDown("settings");
|
||||||
}
|
}
|
||||||
else if (cmd == 'connectivity')
|
else if (cmd == 'connectivity')
|
||||||
{
|
{
|
||||||
self.toogleDropDown("connectivity");
|
self.toggleDropDown("connectivity");
|
||||||
}
|
}
|
||||||
else if (cmd == 'embed')
|
else if (cmd == 'embed')
|
||||||
{
|
{
|
||||||
self.setEmbedLinks();
|
self.setEmbedLinks();
|
||||||
$('#linkinput').focus().select();
|
$('#linkinput').focus().select();
|
||||||
self.toogleDropDown("embed");
|
self.toggleDropDown("embed");
|
||||||
}
|
}
|
||||||
else if (cmd == 'import_export')
|
else if (cmd == 'import_export')
|
||||||
{
|
{
|
||||||
self.toogleDropDown("importexport");
|
self.toggleDropDown("importexport");
|
||||||
}
|
}
|
||||||
else if (cmd == 'savedRevision')
|
else if (cmd == 'savedRevision')
|
||||||
{
|
{
|
||||||
|
@ -186,7 +186,7 @@ var padeditbar = (function()
|
||||||
}
|
}
|
||||||
if(padeditor.ace) padeditor.ace.focus();
|
if(padeditor.ace) padeditor.ace.focus();
|
||||||
},
|
},
|
||||||
toogleDropDown: function(moduleName, cb)
|
toggleDropDown: function(moduleName, cb)
|
||||||
{
|
{
|
||||||
var modules = ["settings", "connectivity", "importexport", "embed", "users"];
|
var modules = ["settings", "connectivity", "importexport", "embed", "users"];
|
||||||
|
|
||||||
|
|
|
@ -35,8 +35,8 @@ var padmodals = (function()
|
||||||
{
|
{
|
||||||
$("#connectivity .visible").removeClass('visible');
|
$("#connectivity .visible").removeClass('visible');
|
||||||
$("#connectivity ."+messageId).addClass('visible');
|
$("#connectivity ."+messageId).addClass('visible');
|
||||||
padeditbar.toogleDropDown("none", function() {
|
padeditbar.toggleDropDown("none", function() {
|
||||||
padeditbar.toogleDropDown("connectivity");
|
padeditbar.toggleDropDown("connectivity");
|
||||||
});
|
});
|
||||||
},
|
},
|
||||||
showOverlay: function(duration) {
|
showOverlay: function(duration) {
|
||||||
|
|
Loading…
Reference in New Issue