Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
U
ulakbus-ui
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
ulakbus
ulakbus-ui
Commits
21574474
Commit
21574474
authored
May 10, 2016
by
Bahadir Can Yildiz
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
CHANGE rclose #5311, closes #GH-102. Delete buttons on crud will pop modal.
parent
fc34f09d
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
27 deletions
+0
-27
form_service.js
app/zetalib/form_service.js
+0
-27
No files found.
app/zetalib/form_service.js
View file @
21574474
...
...
@@ -610,33 +610,6 @@ angular.module('ulakbus.formService', ['ui.bootstrap'])
};
}
},
//this field is a need for next features
confirmprev
:
{
default
:
function
(
scope
,
v
,
k
)
{
scope
.
form
[
scope
.
form
.
indexOf
(
k
)]
=
{
type
:
"template"
,
isOpen
:
false
,
title
:
v
.
title
,
confirm_message
:
v
.
confirm_message
,
templateUrl
:
"shared/templates/confirm.html"
,
name
:
k
,
key
:
k
,
cmd
:
v
.
cmd
,
style
:
v
.
style
,
clickHandler
:
function
(){
this
.
isOpen
=
!
this
.
isOpen
;
},
confirm
:
function
()
{
this
.
isOpen
=
false
;
// send cmd with submit
delete
scope
.
form_params
.
cmd
;
scope
.
form_params
[
'cmd'
]
=
v
.
cmd
;
generator
.
submit
(
scope
,
false
);
}
};
}
},
confirm
:
{
default
:
function
(
scope
,
v
,
k
)
{
scope
.
form
[
scope
.
form
.
indexOf
(
k
)]
=
{
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment