]> source.dussan.org Git - gitea.git/commitdiff
fix rename repo JS
authorUnknwon <u@gogs.io>
Tue, 1 Sep 2015 13:37:41 +0000 (09:37 -0400)
committerUnknwon <u@gogs.io>
Tue, 1 Sep 2015 13:37:41 +0000 (09:37 -0400)
public/config.codekit
public/js/gogs.js

index bee70c29ce53bbdb5080ebed88591af274b7a473..16d02ec0154b0405cdaa342258bab1d7f2f7129d 100644 (file)
                "outputPathIsOutsideProject": 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": {
                "fileType": 16,
                "ignore": 0,
                },
        "\/js\/gogs.js": {
                "fileType": 64,
-               "ignore": 0,
-               "ignoreWasSetByUser": 0,
+               "ignore": 1,
+               "ignoreWasSetByUser": 1,
                "inputAbbreviatedPath": "\/js\/gogs.js",
                "outputAbbreviatedPath": "\/js\/min\/gogs-min.js",
                "outputPathIsOutsideProject": 0,
                "outputPathIsSetByUser": 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": {
                "fileType": 64,
                "ignore": 0,
index aed4ec7ac6aedf431a37c34932091857f8d91b8f..89e5ef89d7efa7df02c7b7aa1db4f7d51625b114 100644 (file)
@@ -186,7 +186,7 @@ function initRepository() {
     if ($('.repository.settings.options').length > 0) {
         $('#repo_name').keyup(function () {
             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();
             } else {
                 $prompt_span.hide();