Skip to content

Commit

Permalink
version 2.4.1:
Browse files Browse the repository at this point in the history
- Use wwv_flow.ajax endpoint instead of wwv_flow.show for all AJAX actions
  • Loading branch information
Daniel Hochleitner committed Aug 1, 2018
1 parent 3a0b94c commit 90a82f4
Show file tree
Hide file tree
Showing 7 changed files with 24 additions and 22 deletions.
2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,8 @@ https://apex.oracle.com/pls/apex/f?p=APEXPLUGIN

## Changelog

#### 2.4.1 - Use wwv_flow.ajax endpoint instead of wwv_flow.show for all AJAX actions

#### 2.4.0 - changed "Normal" upload method to use multipart/form-data requests, no base64 conversion needed + works with all web servers

#### 2.3.0 - min. APEX version now is 5.1 ! / Changed chunked upload to also use base64 f01 array (double chunked mechanism) / delete AJAX call only when file has no error
Expand Down
2 changes: 1 addition & 1 deletion apexplugin.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "Dropzone",
"version": "2.4.0",
"version": "2.4.1",
"description": "Dropzone is a region type plugin that allows you to provide nice looking drag’n’drop file uploads.",
"keywords": ["dropzone", "drag", "drop", "file", "upload", "multi", "multiple"],
"homepage": "https://github.com/Dani3lSun/apex-plugin-dropzone",
Expand Down
2 changes: 1 addition & 1 deletion server/css/apexdropzone.css
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
/*
APEX Dropzone CSS
Author: Daniel Hochleitner
Version: 2.4.0
Version: 2.4.1
*/

.dz-message {
Expand Down
10 changes: 5 additions & 5 deletions server/js/apexdropzone.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
/*
APEX Dropzone JS
Author: Daniel Hochleitner
Version: 2.4.0
Version: 2.4.1
*/

/**
Expand Down Expand Up @@ -250,7 +250,7 @@ var apexDropzone = {
file.xhr = apex.jQuery.ajax({
dataType: 'text',
type: 'POST',
url: window.location.href.substr(0, window.location.href.indexOf('/f?p=') + 1) + 'wwv_flow.show',
url: window.location.href.substr(0, window.location.href.indexOf('/f?p=') + 1) + 'wwv_flow.ajax',
async: true,
traditional: true,
data: {
Expand Down Expand Up @@ -407,7 +407,7 @@ var apexDropzone = {
file.xhr = apex.jQuery.ajax({
dataType: 'text',
type: 'POST',
url: window.location.href.substr(0, window.location.href.indexOf('/f?p=') + 1) + 'wwv_flow.show',
url: window.location.href.substr(0, window.location.href.indexOf('/f?p=') + 1) + 'wwv_flow.ajax',
async: true,
processData: false,
contentType: false,
Expand Down Expand Up @@ -511,7 +511,7 @@ var apexDropzone = {
apex.jQuery.ajax({
dataType: 'text',
type: 'POST',
url: window.location.href.substr(0, window.location.href.indexOf('/f?p=') + 1) + 'wwv_flow.show',
url: window.location.href.substr(0, window.location.href.indexOf('/f?p=') + 1) + 'wwv_flow.ajax',
async: true,
traditional: true,
data: {
Expand Down Expand Up @@ -672,7 +672,7 @@ var apexDropzone = {
// DROPZONE Options
var dzOptions = {
// NOT USED: required params, but uploading function uses plugin process
url: window.location.href.substr(0, window.location.href.indexOf('/f?p=') + 1) + 'wwv_flow.show',
url: window.location.href.substr(0, window.location.href.indexOf('/f?p=') + 1) + 'wwv_flow.ajax',
// dropzone parameters
uploadMultiple: false,
autoProcessQueue: true,
Expand Down
2 changes: 1 addition & 1 deletion server/js/apexdropzone.min.js

Large diffs are not rendered by default.

26 changes: 13 additions & 13 deletions source/region_type_plugin_de_danielh_dropzone2.sql

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion source/render_region.sql
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/*-------------------------------------
* Dropzone APEX Plugin
* Version: 2.4.0 (01.08.2018)
* Version: 2.4.1 (01.08.2018)
* Author: Daniel Hochleitner
*-------------------------------------
*/
Expand Down

0 comments on commit 90a82f4

Please sign in to comment.