Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
C
crmforms-onestartup
Overview
Overview
Details
Activity
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
Angel Martin
crmforms-onestartup
Commits
3d92388d
Commit
3d92388d
authored
6 years ago
by
Angel MAS
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
cronocmetro con swal
parent
34719ea4
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
6 deletions
+4
-6
cronometro2.js
src/assets/cronometro2.js
+4
-6
No files found.
src/assets/cronometro.js
→
src/assets/cronometro
2
.js
View file @
3d92388d
var
start
;
var
finish
;
jQuery
(
function
(
$
)
{
start
=
new
Date
();
$
(
'form'
).
submit
(
function
(){
start
=
new
Date
();
$
(
'form'
).
submit
(
function
(){
finish
=
new
Date
();
var
tiempo
=
(
+
finish
-
+
start
)
/
1000
;
jQuery
(
"#landing_form"
).
append
(
'<input type="hidden" name="session_time" value="'
+
tiempo
+
'" />'
);
var
tiempo
=
(
+
finish
-
+
start
)
/
1000
;
jQuery
(
"#landing_form"
).
append
(
'<input type="hidden" name="session_time" value="'
+
tiempo
+
'" />'
);
$
(
'input[type=submit]'
,
this
).
attr
(
'disabled'
,
'disabled'
);
...
...
This diff is collapsed.
Click to expand it.
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