Skip to content

Commit

Permalink
refactor code for esjob Locale
Browse files Browse the repository at this point in the history
  • Loading branch information
Zhangxinguo committed Jun 12, 2017
1 parent b382c65 commit 1d3dcde
Show file tree
Hide file tree
Showing 5 changed files with 1 addition and 4 deletions.
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
$(function() {
tooltipLocale();
validate();
submitConfirm("post", $("#data-add-app"));
});
Original file line number Diff line number Diff line change
Expand Up @@ -81,6 +81,7 @@ function bindModifyAppButton() {
$(".box-body").remove();
$("#update-app-body").load("html/app/modify_app.html", null, function() {
doLocale();
tooltipLocale();
renderApp(result);
$("#data-update-app").modal({backdrop : "static", keyboard : true});
});
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
$(function() {
tooltipLocale();
validate();
submitConfirm("put", $("#data-update-app"));
});
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
$(function() {
tooltipLocale();
validate();
dataControl();
submitConfirm("post", "/api/job/register", $("#data-add-job"));
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
$(function() {
tooltipLocale();
validate();
dataControl();
submitConfirm("put", "/api/job/update", $("#data-update-job"));
Expand Down

0 comments on commit 1d3dcde

Please sign in to comment.