Fix duplicate ID for file selection I18N

This commit is contained in:
Tom Morris 2015-05-03 09:22:35 -04:00
parent 8540a628c9
commit 75ec34ea93
2 changed files with 3 additions and 4 deletions

View File

@ -1,5 +1,5 @@
<form bind="form"><div class="grid-layout layout-normal"><table>
<tr><td id="or-import-locate"></td></tr>
<tr><td id="or-import-locate-files"></td></tr>
<tr><td><input type="file" multiple bind="fileInput" name="upload" /></td></tr>
<tr><td><button bind="nextButton" class="button button-primary" type="button"></button></td></tr>
</table></div></form>
</table></div></form>

View File

@ -47,8 +47,7 @@ ThisComputerImportingSourceUI.prototype.attachUI = function(bodyDiv) {
this._elmts = DOM.bind(bodyDiv);
$('#or-import-locate').text($.i18n._('core-index-import')["locate-files"]);
$('#or-import-locate').text($.i18n._('core-index-import')["locate-files"]);
$('#or-import-locate-files').text($.i18n._('core-index-import')["locate-files"]);
this._elmts.nextButton.html($.i18n._('core-buttons')["next"]);
this._elmts.nextButton.click(function(evt) {