summaryrefslogtreecommitdiffstats
path: root/public/js/index.js
diff options
context:
space:
mode:
Diffstat (limited to 'public/js/index.js')
-rw-r--r--public/js/index.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/public/js/index.js b/public/js/index.js
index 1377e9f36a..70cad04e94 100644
--- a/public/js/index.js
+++ b/public/js/index.js
@@ -561,7 +561,7 @@ function initRepository() {
if ($('.repository.settings.options').length > 0) {
$('#repo_name').keyup(function () {
var $prompt = $('#repo-name-change-prompt');
- if ($(this).val().toString().toLowerCase() != $(this).data('repo-name').toString().toLowerCase()) {
+ if ($(this).val().toString().toLowerCase() != $(this).data('name').toString().toLowerCase()) {
$prompt.show();
} else {
$prompt.hide();
@@ -2071,7 +2071,7 @@ function showDeletePopup() {
}
var dialog = $('.delete.modal' + filter);
- dialog.find('.repo-name').text($this.data('repo-name'));
+ dialog.find('.name').text($this.data('name'));
dialog.modal({
closable: false,