Skip to content

Commit

Permalink
fix html bug
Browse files Browse the repository at this point in the history
  • Loading branch information
knightliao committed Oct 26, 2015
1 parent fe59012 commit 912a5ca
Show file tree
Hide file tree
Showing 8 changed files with 15 additions and 11 deletions.
2 changes: 1 addition & 1 deletion disconf-client/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
<parent>
<groupId>com.baidu.disconf</groupId>
<artifactId>disconf-base</artifactId>
<version>2.6.26</version>
<version>2.6.27-SNAPSHOT</version>
<relativePath>../</relativePath>
</parent>

Expand Down
2 changes: 1 addition & 1 deletion disconf-core/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
<groupId>com.baidu.disconf</groupId>
<artifactId>disconf-base</artifactId>
<relativePath>../</relativePath>
<version>2.6.26</version>
<version>2.6.27-SNAPSHOT</version>
</parent>

<licenses>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@
<dependency>
<groupId>com.baidu.disconf</groupId>
<artifactId>disconf-client</artifactId>
<version>2.6.26</version>
<version>2.6.27-SNAPSHOT</version>
<exclusions>
<exclusion>
<groupId>ch.qos.logback</groupId>
Expand Down
2 changes: 1 addition & 1 deletion disconf-demos/disconf-standalone-demo/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
<dependency>
<groupId>com.baidu.disconf</groupId>
<artifactId>disconf-client</artifactId>
<version>2.6.26</version>
<version>2.6.27-SNAPSHOT</version>
</dependency>

<dependency>
Expand Down
2 changes: 1 addition & 1 deletion disconf-demos/disconf-standalone-dubbo-demo/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
<dependency>
<groupId>com.baidu.disconf</groupId>
<artifactId>disconf-client</artifactId>
<version>2.6.26</version>
<version>2.6.27-SNAPSHOT</version>
</dependency>

<dependency>
Expand Down
2 changes: 1 addition & 1 deletion disconf-tool/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
<parent>
<groupId>com.baidu.disconf</groupId>
<artifactId>disconf-base</artifactId>
<version>2.6.26</version>
<version>2.6.27-SNAPSHOT</version>
</parent>
<artifactId>disconf-tool</artifactId>
<version>${disconf-tool.version}</version>
Expand Down
6 changes: 5 additions & 1 deletion disconf-web/html/assets/js/newconfigfile.js
Original file line number Diff line number Diff line change
Expand Up @@ -211,6 +211,10 @@ $("#uploadChoice").on(
'click',
function (e) {

if (version == '自定义版本') {
version = $('#selfversion_value').val();
}

$("#error").addClass("hide");

var fileName = $("#fileName").val();
Expand Down Expand Up @@ -239,7 +243,7 @@ $("#uploadChoice").on(
"envId": envId,
"version": version,
"fileContent": fileContent,
"fileName": fileName,
"fileName": fileName
}
}).done(function (data) {
$("#error").removeClass("hide");
Expand Down
8 changes: 4 additions & 4 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@

<groupId>com.baidu.disconf</groupId>
<artifactId>disconf-base</artifactId>
<version>2.6.26</version>
<version>2.6.27-SNAPSHOT</version>
<packaging>pom</packaging>

<modules>
Expand Down Expand Up @@ -46,9 +46,9 @@
<project.build.offline.sourceDir>${project.basedir}/src/main/resources</project.build.offline.sourceDir>

<!-- 模块版本号 -->
<disconf-core.version>2.6.26</disconf-core.version>
<disconf-client.version>2.6.26</disconf-client.version>
<disconf-tool.version>2.6.26</disconf-tool.version>
<disconf-core.version>2.6.27-SNAPSHOT</disconf-core.version>
<disconf-client.version>2.6.27-SNAPSHOT</disconf-client.version>
<disconf-tool.version>2.6.27-SNAPSHOT</disconf-tool.version>
</properties>

<dependencyManagement>
Expand Down

0 comments on commit 912a5ca

Please sign in to comment.