Allow to pass a callback as ajax.url
This commit is contained in:
parent
b4f6462bb2
commit
a770ade670
@ -316,7 +316,7 @@ the specific language governing permissions and limitations under the Apache Lic
|
||||
if( null !== handler) { handler.abort(); }
|
||||
|
||||
handler = transport.call(null, {
|
||||
url: options.url,
|
||||
url: ((typeof options.url === 'function')?options.url():options.url),
|
||||
dataType: options.dataType,
|
||||
data: data,
|
||||
type: type,
|
||||
|
Loading…
Reference in New Issue
Block a user