Skip to content

Commit

Permalink
fix ajax listeners
Browse files Browse the repository at this point in the history
  • Loading branch information
bmooreitul authored Feb 14, 2023
1 parent 46ce8ff commit a9d1976
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions itulFramework.js
Original file line number Diff line number Diff line change
Expand Up @@ -206,7 +206,7 @@ function init_fill_height(trigger = true){
event.stopPropagation();
event.preventDefault();

var uploadUrl = typeof($(event.target).attr('data-uploadurl')) !== 'undefined' ? $(event.target).attr('data-uploadurl') : itulOptions.files.uploadUrl;
var uploadUrl = typeof($(event.target).attr('data-uploadurl')) !== 'undefined' ? itulOptions.files.uploadUrl : $(event.target).attr('data-uploadurl');

var files = typeof(add_files) !== 'undefined' ? add_files : event.target.files;

Expand Down Expand Up @@ -824,4 +824,4 @@ function init_fill_height(trigger = true){
}

});
//--------------------------------------- END INPUT MASKING CUSTOM LISTENERS AND FUNCTIONS -------------------------//
//--------------------------------------- END INPUT MASKING CUSTOM LISTENERS AND FUNCTIONS -------------------------//

0 comments on commit a9d1976

Please sign in to comment.