Skip to content
Toggle navigation
Toggle navigation
This project
Loading...
Sign in
Tenzing
/
Tz Tools
Go to a project
Toggle navigation
Toggle navigation pinning
Projects
Groups
Snippets
Help
Project
Activity
Repository
Pipelines
Graphs
Issues
0
Merge Requests
0
Wiki
Network
Create a new issue
Builds
Commits
Issue Boards
Files
Commits
Network
Compare
Branches
Tags
7328a660
authored
2021-06-01 11:55:55 -0400
by
Jeff Balicki
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
hide submit
1 parent
fb1e0de2
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
2 deletions
com/Notifications/views/create.php
com/Notifications/views/create.php
View file @
7328a66
...
...
@@ -294,8 +294,8 @@ endforeach;
<?php
endforeach
;
?>
</div>
<p>
<input
type=
"submit"
value=
" Save "
/>
<input
type=
"button"
value=
" Cancel "
onclick=
"document.location.href='/wp-admin/admin.php?page=notifications';"
/>
<input
id=
"submit"
type=
"submit"
value=
" Save "
/>
<input
id=
"cancel"
type=
"button"
value=
" Cancel "
onclick=
"document.location.href='/wp-admin/admin.php?page=notifications';"
/>
</p>
</form>
</div>
...
...
@@ -305,6 +305,11 @@ endforeach;
var codeCleaned = false;
$('#submit').on('click', function() {
$(this).hide();
$('#cancel').hide();
$('#notifications-create-new').trigger('submit');
});
...
...
Please
register
or
sign in
to post a comment