Fix error: undefined is not a function (evaluating \'$scope.us.revert()\')
parent
b9baa28932
commit
7248d7e02f
|
@ -240,13 +240,13 @@ CreateEditUserstoryDirective = ($repo, $model, $rs, $rootScope, lightboxService,
|
||||||
$scope.isNew = true
|
$scope.isNew = true
|
||||||
$scope.usStatusList = statusList
|
$scope.usStatusList = statusList
|
||||||
|
|
||||||
$scope.us = {
|
$scope.us = $model.make_model("userstories", {
|
||||||
project: projectId
|
project: projectId
|
||||||
points : {}
|
points : {}
|
||||||
status: status
|
status: status
|
||||||
is_archived: false
|
is_archived: false
|
||||||
tags: []
|
tags: []
|
||||||
}
|
})
|
||||||
|
|
||||||
# Update texts for creation
|
# Update texts for creation
|
||||||
$el.find(".button-green span").html("Create") #TODO: i18n
|
$el.find(".button-green span").html("Create") #TODO: i18n
|
||||||
|
|
Loading…
Reference in New Issue