mirror of
https://git.code.sf.net/p/seeddms/code
synced 2025-03-12 00:45:34 +00:00
fix wrong variable name in javascript
This commit is contained in:
parent
3ffa43730a
commit
85bc796629
|
@ -69,7 +69,7 @@ function checkForm()
|
|||
$(document).ready(function() {
|
||||
$('body').on('submit', '#form1', function(ev){
|
||||
if(checkForm()) return;
|
||||
event.preventDefault();
|
||||
ev.preventDefault();
|
||||
});
|
||||
$('#new-file').click(function(event) {
|
||||
$("#upload-file").clone().appendTo("#upload-files").removeAttr("id").children('div').children('input').val('');
|
||||
|
|
|
@ -63,7 +63,7 @@ function checkForm()
|
|||
$(document).ready(function() {
|
||||
$('body').on('submit', '#form1', function(ev){
|
||||
if(checkForm()) return;
|
||||
event.preventDefault();
|
||||
ev.preventDefault();
|
||||
});
|
||||
});
|
||||
<?php
|
||||
|
|
|
@ -65,7 +65,7 @@ function checkForm()
|
|||
$(document).ready( function() {
|
||||
$('body').on('submit', '#fileupload', function(ev){
|
||||
if(checkForm()) return;
|
||||
event.preventDefault();
|
||||
ev.preventDefault();
|
||||
});
|
||||
});
|
||||
<?php
|
||||
|
|
|
@ -63,7 +63,7 @@ function checkForm()
|
|||
$(document).ready( function() {
|
||||
$('body').on('submit', '#form1', function(ev){
|
||||
if(checkForm()) return;
|
||||
event.preventDefault();
|
||||
ev.preventDefault();
|
||||
});
|
||||
});
|
||||
<?php
|
||||
|
|
|
@ -77,11 +77,11 @@ function checkGrpForm()
|
|||
$(document).ready(function() {
|
||||
$('body').on('submit', '#form1', function(ev){
|
||||
if(checkIndForm()) return;
|
||||
event.preventDefault();
|
||||
ev.preventDefault();
|
||||
});
|
||||
$('body').on('submit', '#form2', function(ev){
|
||||
if(checkGrpForm()) return;
|
||||
event.preventDefault();
|
||||
ev.preventDefault();
|
||||
});
|
||||
});
|
||||
<?php
|
||||
|
|
|
@ -39,7 +39,7 @@ class SeedDMS_View_AttributeMgr extends SeedDMS_Bootstrap_Style {
|
|||
$(document).ready( function() {
|
||||
$('body').on('submit', '#form', function(ev){
|
||||
// if(checkForm()) return;
|
||||
// event.preventDefault();
|
||||
// ev.preventDefault();
|
||||
});
|
||||
$( "#selector" ).change(function() {
|
||||
$('div.ajax').trigger('update', {attrdefid: $(this).val()});
|
||||
|
|
|
@ -100,15 +100,15 @@ function checkKeywordForm()
|
|||
$(document).ready( function() {
|
||||
$('body').on('submit', '#form', function(ev){
|
||||
if(checkForm()) return;
|
||||
event.preventDefault();
|
||||
ev.preventDefault();
|
||||
});
|
||||
$('body').on('submit', '.formk', function(ev){
|
||||
if(checkKeywordForm()) return;
|
||||
event.preventDefault();
|
||||
ev.preventDefault();
|
||||
});
|
||||
$('body').on('submit', '.formn', function(ev){
|
||||
if(checkFormName()) return;
|
||||
event.preventDefault();
|
||||
ev.preventDefault();
|
||||
});
|
||||
$( "#selector" ).change(function() {
|
||||
$('div.ajax').trigger('update', {categoryid: $(this).val()});
|
||||
|
|
|
@ -68,7 +68,7 @@ function checkForm()
|
|||
$(document).ready( function() {
|
||||
$('body').on('submit', '#form1', function(ev){
|
||||
if(checkForm()) return;
|
||||
event.preventDefault();
|
||||
ev.preventDefault();
|
||||
});
|
||||
});
|
||||
<?php
|
||||
|
|
|
@ -58,7 +58,7 @@ function checkForm()
|
|||
$(document).ready( function() {
|
||||
$('body').on('submit', '#form1', function(ev){
|
||||
if(checkForm()) return;
|
||||
event.preventDefault();
|
||||
ev.preventDefault();
|
||||
});
|
||||
});
|
||||
<?php
|
||||
|
|
|
@ -62,7 +62,7 @@ function checkForm()
|
|||
$(document).ready(function() {
|
||||
$('body').on('submit', '#form1', function(ev){
|
||||
if(checkForm()) return;
|
||||
event.preventDefault();
|
||||
ev.preventDefault();
|
||||
});
|
||||
});
|
||||
<?php
|
||||
|
|
|
@ -67,7 +67,7 @@ function checkForm()
|
|||
$(document).ready( function() {
|
||||
$('body').on('submit', '#form1', function(ev){
|
||||
if(checkForm()) return;
|
||||
event.preventDefault();
|
||||
ev.preventDefault();
|
||||
});
|
||||
});
|
||||
<?php
|
||||
|
|
|
@ -63,7 +63,7 @@ function checkForm()
|
|||
$(document).ready(function() {
|
||||
$('body').on('submit', '#form1', function(ev){
|
||||
if(checkForm()) return;
|
||||
event.preventDefault();
|
||||
ev.preventDefault();
|
||||
});
|
||||
});
|
||||
<?php
|
||||
|
|
|
@ -63,7 +63,7 @@ function checkForm()
|
|||
$(document).ready(function() {
|
||||
$('body').on('submit', '#form1', function(ev){
|
||||
if(checkForm()) return;
|
||||
event.preventDefault();
|
||||
ev.preventDefault();
|
||||
});
|
||||
});
|
||||
<?php
|
||||
|
|
|
@ -59,7 +59,7 @@ function checkForm()
|
|||
$(document).ready( function() {
|
||||
$('body').on('submit', '#form', function(ev){
|
||||
if(checkForm()) return;
|
||||
event.preventDefault();
|
||||
ev.preventDefault();
|
||||
});
|
||||
});
|
||||
<?php
|
||||
|
|
|
@ -65,7 +65,7 @@ function checkForm()
|
|||
$(document).ready(function() {
|
||||
$('body').on('submit', '#form1', function(ev){
|
||||
if(checkForm()) return;
|
||||
event.preventDefault();
|
||||
ev.preventDefault();
|
||||
});
|
||||
});
|
||||
<?php
|
||||
|
|
|
@ -57,7 +57,7 @@ function checkForm()
|
|||
$(document).ready(function() {
|
||||
$('body').on('submit', '#form1', function(ev){
|
||||
if(checkForm()) return;
|
||||
event.preventDefault();
|
||||
ev.preventDefault();
|
||||
});
|
||||
});
|
||||
<?php
|
||||
|
|
|
@ -61,7 +61,7 @@ function checkForm()
|
|||
$(document).ready( function() {
|
||||
$('body').on('submit', '#form', function(ev){
|
||||
if(checkForm()) return;
|
||||
event.preventDefault();
|
||||
ev.preventDefault();
|
||||
});
|
||||
});
|
||||
<?php
|
||||
|
|
|
@ -85,13 +85,13 @@ $(document).ready( function() {
|
|||
$('body').on('submit', '#form_1', function(ev){
|
||||
if(checkForm1())
|
||||
return;
|
||||
event.preventDefault();
|
||||
ev.preventDefault();
|
||||
});
|
||||
|
||||
$('body').on('submit', '#form_2', function(ev){
|
||||
if(checkForm2())
|
||||
return;
|
||||
event.preventDefault();
|
||||
ev.preventDefault();
|
||||
});
|
||||
|
||||
$( "#selector" ).change(function() {
|
||||
|
|
|
@ -56,7 +56,7 @@ function checkForm()
|
|||
$(document).ready(function() {
|
||||
$('body').on('submit', '#form1', function(ev){
|
||||
if(checkForm()) return;
|
||||
event.preventDefault();
|
||||
ev.preventDefault();
|
||||
});
|
||||
});
|
||||
<?php
|
||||
|
|
|
@ -56,7 +56,7 @@ function checkForm()
|
|||
$(document).ready(function() {
|
||||
$('body').on('submit', '#form1', function(ev){
|
||||
if(checkForm()) return;
|
||||
event.preventDefault();
|
||||
ev.preventDefault();
|
||||
});
|
||||
});
|
||||
document.form1.email.focus();
|
||||
|
|
|
@ -55,7 +55,7 @@ function checkForm()
|
|||
$(document).ready(function() {
|
||||
$('body').on('submit', '#form1', function(ev){
|
||||
if(checkForm()) return;
|
||||
event.preventDefault();
|
||||
ev.preventDefault();
|
||||
});
|
||||
});
|
||||
<?php
|
||||
|
|
|
@ -77,11 +77,11 @@ function checkGrpForm()
|
|||
$(document).ready(function() {
|
||||
$('body').on('submit', '#form1', function(ev){
|
||||
if(checkIndForm()) return;
|
||||
event.preventDefault();
|
||||
ev.preventDefault();
|
||||
});
|
||||
$('body').on('submit', '#form2', function(ev){
|
||||
if(checkGrpForm()) return;
|
||||
event.preventDefault();
|
||||
ev.preventDefault();
|
||||
});
|
||||
});
|
||||
<?php
|
||||
|
|
|
@ -62,7 +62,7 @@ function checkForm()
|
|||
$(document).ready(function() {
|
||||
$('body').on('submit', '#form1', function(ev){
|
||||
if(checkForm()) return;
|
||||
event.preventDefault();
|
||||
ev.preventDefault();
|
||||
});
|
||||
});
|
||||
<?php
|
||||
|
|
|
@ -56,7 +56,7 @@ function checkForm()
|
|||
$(document).ready(function() {
|
||||
$('body').on('submit', '#form1', function(ev){
|
||||
if(checkForm()) return;
|
||||
event.preventDefault();
|
||||
ev.preventDefault();
|
||||
});
|
||||
});
|
||||
<?php
|
||||
|
|
|
@ -72,7 +72,7 @@ function checkForm()
|
|||
$(document).ready( function() {
|
||||
$('body').on('submit', '#form1', function(ev){
|
||||
if(checkForm()) return;
|
||||
event.preventDefault();
|
||||
ev.preventDefault();
|
||||
});
|
||||
});
|
||||
<?php
|
||||
|
|
|
@ -54,7 +54,7 @@ showKeywords(sel);
|
|||
$(document).ready(function() {
|
||||
$('body').on('submit', '#form1', function(ev){
|
||||
if(checkForm()) return;
|
||||
event.preventDefault();
|
||||
ev.preventDefault();
|
||||
});
|
||||
$( "#selector" ).change(function() {
|
||||
showKeywords(this);
|
||||
|
|
|
@ -71,7 +71,7 @@ function checkForm()
|
|||
$(document).ready( function() {
|
||||
$('body').on('submit', '#form', function(ev){
|
||||
if(checkForm()) return;
|
||||
event.preventDefault();
|
||||
ev.preventDefault();
|
||||
});
|
||||
$( "#selector" ).change(function() {
|
||||
$('div.ajax').trigger('update', {userid: $(this).val()});
|
||||
|
|
|
@ -58,7 +58,7 @@ function checkForm(num)
|
|||
$(document).ready( function() {
|
||||
$('body').on('submit', '#form', function(ev){
|
||||
if(checkForm()) return;
|
||||
event.preventDefault();
|
||||
ev.preventDefault();
|
||||
});
|
||||
$( "#selector" ).change(function() {
|
||||
$('div.ajax').trigger('update', {workflowactionid: $(this).val()});
|
||||
|
|
|
@ -60,7 +60,7 @@ function checkForm(num)
|
|||
$(document).ready(function() {
|
||||
$('body').on('submit', '#form1', function(ev){
|
||||
if(checkForm()) return;
|
||||
event.preventDefault();
|
||||
ev.preventDefault();
|
||||
});
|
||||
$( "#selector" ).change(function() {
|
||||
$('div.ajax').trigger('update', {workflowid: $(this).val()});
|
||||
|
|
|
@ -59,7 +59,7 @@ function checkForm(num)
|
|||
$(document).ready(function() {
|
||||
$('body').on('submit', '#form1', function(ev){
|
||||
if(checkForm()) return;
|
||||
event.preventDefault();
|
||||
ev.preventDefault();
|
||||
});
|
||||
$( "#selector" ).change(function() {
|
||||
$('div.ajax').trigger('update', {workflowstateid: $(this).val()});
|
||||
|
|
Loading…
Reference in New Issue
Block a user