Commit 17a5235d authored by tywldx's avatar tywldx

fix

parent b2fce0f9
...@@ -379,6 +379,7 @@ function UrlEditCtrl($scope, Project, Url, TemplateUrlRoute) { ...@@ -379,6 +379,7 @@ function UrlEditCtrl($scope, Project, Url, TemplateUrlRoute) {
$scope.modal.title = title; $scope.modal.title = title;
$scope.modal.value = model; $scope.modal.value = model;
$('#myModal').modal('show'); $('#myModal').modal('show');
$('#modalInput').unbind("keydown");
$('#modalInput').bind("keydown", { do: callback }, modalInputCallBack); $('#modalInput').bind("keydown", { do: callback }, modalInputCallBack);
} }
var reg = /^[\u4E00-\u9FA5]+$/; var reg = /^[\u4E00-\u9FA5]+$/;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment