Skip to content

Commit

Permalink
Merge pull request adobe#5287 from SAPlayer/patch-5
Browse files Browse the repository at this point in the history
Remove the ability to switch language to the current language
  • Loading branch information
JeffryBooher committed Oct 4, 2013
2 parents ac84a6e + b17c774 commit 4f1f7c0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/extensions/default/DebugCommands/main.js
Original file line number Diff line number Diff line change
Expand Up @@ -151,7 +151,7 @@ define(function (require, exports, module) {

function setLanguage(event) {
locale = $select.val();
$submit.prop("disabled", false);
$submit.prop("disabled", locale === (curLocale || ""));
}

// returns the localized label for the given locale
Expand Down

0 comments on commit 4f1f7c0

Please sign in to comment.