WoWInterface SVN Torta

Compare Revisions

  • This comparison shows the changes necessary to convert path
    /trunk
    from Rev 37 to Rev 38
    Reverse comparison

Rev 37 → Rev 38

Torta/UIManager.lua
564,10 → 564,10
-- ====================================================================
StaticPopupDialogs["TORTA_CLRENAMELIST"] = {
text = "Please enter the new name for the list currently named \"|cffffd000%s|r\":",
OnAccept = function(button)
local newName = getglobal(button:GetParent():GetName() .. "EditBox"):GetText();
OnAccept = function(frame)
local newName = getglobal(frame:GetName() .. "EditBox"):GetText();
Torta.cl3:RenameList(Torta.gui.selectedExplorerButton:GetID(), newName);
button:GetParent():Hide();
frame:Hide();
end,
EditBoxOnEnterPressed = function(editBox)
local newName = editBox:GetText();