1
0
mirror of https://github.com/go-gitea/gitea.git synced 2024-11-04 08:17:24 -05:00

fix rename repo JS

This commit is contained in:
Unknwon 2015-09-01 09:37:41 -04:00
parent 8af094967f
commit dde9ace91b
2 changed files with 23 additions and 3 deletions

View File

@ -38,6 +38,15 @@
"outputPathIsOutsideProject": 0, "outputPathIsOutsideProject": 0,
"outputPathIsSetByUser": 0 "outputPathIsSetByUser": 0
}, },
"\/css\/gogs.min.css": {
"fileType": 16,
"ignore": 1,
"ignoreWasSetByUser": 0,
"inputAbbreviatedPath": "\/css\/gogs.min.css",
"outputAbbreviatedPath": "No Output Path",
"outputPathIsOutsideProject": 0,
"outputPathIsSetByUser": 0
},
"\/css\/highlight-8.7\/default.css": { "\/css\/highlight-8.7\/default.css": {
"fileType": 16, "fileType": 16,
"ignore": 0, "ignore": 0,
@ -164,8 +173,8 @@
}, },
"\/js\/gogs.js": { "\/js\/gogs.js": {
"fileType": 64, "fileType": 64,
"ignore": 0, "ignore": 1,
"ignoreWasSetByUser": 0, "ignoreWasSetByUser": 1,
"inputAbbreviatedPath": "\/js\/gogs.js", "inputAbbreviatedPath": "\/js\/gogs.js",
"outputAbbreviatedPath": "\/js\/min\/gogs-min.js", "outputAbbreviatedPath": "\/js\/min\/gogs-min.js",
"outputPathIsOutsideProject": 0, "outputPathIsOutsideProject": 0,
@ -239,6 +248,17 @@
"outputPathIsSetByUser": 0, "outputPathIsSetByUser": 0,
"processed": 0 "processed": 0
}, },
"\/js\/min\/gogs-min.js": {
"fileType": 64,
"ignore": 1,
"ignoreWasSetByUser": 0,
"inputAbbreviatedPath": "\/js\/min\/gogs-min.js",
"outputAbbreviatedPath": "\/js\/min\/min\/gogs-min-min.js",
"outputPathIsOutsideProject": 0,
"outputPathIsSetByUser": 0,
"outputStyle": 1,
"syntaxCheckerStyle": 1
},
"\/js\/semantic-2.0.8.min.js": { "\/js\/semantic-2.0.8.min.js": {
"fileType": 64, "fileType": 64,
"ignore": 0, "ignore": 0,

View File

@ -186,7 +186,7 @@ function initRepository() {
if ($('.repository.settings.options').length > 0) { if ($('.repository.settings.options').length > 0) {
$('#repo_name').keyup(function () { $('#repo_name').keyup(function () {
var $prompt_span = $('#repo-name-change-prompt'); var $prompt_span = $('#repo-name-change-prompt');
if ($(this).val().toLowerCase() != $(this).data('repo-name').toLowerCase()) { if ($(this).val().toString().toLowerCase() != $(this).data('repo-name').toString().toLowerCase()) {
$prompt_span.show(); $prompt_span.show();
} else { } else {
$prompt_span.hide(); $prompt_span.hide();