Commit 5d036a21 authored by tbrehm's avatar tbrehm
Browse files

Fixed jquery File upload problem.

parent f99b1258
......@@ -67,6 +67,13 @@
jQuery(document).ready(function() {
loadInitContent();
$("#pageForm").submit(function(e){
//Prevent form submit: e.preventDefault() in lists
if ($(".panel #Filter").length > 0) {
e.preventDefault();
}
});
});
......@@ -124,7 +131,7 @@
<div id="col3_content" class="clearfix">
<a id="content" name="content"></a>
<!-- skiplink anchor: Content -->
<form method="post" action="" id="pageForm" name="pageForm" enctype="multipart/form-data" class="uniForm" onSubmit="return false;">
<form method="post" action="" id="pageForm" name="pageForm" enctype="multipart/form-data" class="uniForm">
<div id="pageContent"><!-- AJAX CONTENT --></div>
</form>
</div>
......
......@@ -68,6 +68,13 @@
jQuery(document).ready(function() {
loadInitContent();
$("#pageForm").submit(function(e){
//Prevent form submit: e.preventDefault() in lists
if ($(".panel #Filter").length > 0) {
e.preventDefault();
}
});
});
jQuery(document).bind("change", function(event) {
......
......@@ -70,6 +70,13 @@
jQuery(document).ready(function() {
loadInitContent();
$("#pageForm").submit(function(e){
//Prevent form submit: e.preventDefault() in lists
if ($(".panel #Filter").length > 0) {
e.preventDefault();
}
});
});
jQuery(document).bind("change", function(event) {
......
......@@ -68,6 +68,13 @@
jQuery(document).ready(function() {
loadInitContent();
$("#pageForm").submit(function(e){
//Prevent form submit: e.preventDefault() in lists
if ($(".panel #Filter").length > 0) {
e.preventDefault();
}
});
});
jQuery(document).bind("change", function(event) {
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment