diff --git a/javascript/CMSMain_left.js b/javascript/CMSMain_left.js index be335170..c47b2d4f 100755 --- a/javascript/CMSMain_left.js +++ b/javascript/CMSMain_left.js @@ -145,7 +145,7 @@ ShowDeletedPagesAction.prototype = { indicator.style.display = 'block'; var url = SiteTreeHandlers.loadTree_url + '?ID=0&ajax=1'; - if($('Form_EditForm_Locale')) url += "&locale=" + $('Form_EditForm_Locale').value; + if($('LangSelector')) url += "&locale=" + $('LangSelector').value; var request = new Ajax.Request(url, { onSuccess: function(response) {