Closed (outdated)
Project:
Dialog
Version:
6.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
31 Jan 2011 at 21:20 UTC
Updated:
6 Jan 2017 at 20:21 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #1
dave reidNeeds to use
/\/nojs(\/|$|\?|&|#)/g, '/ajax$1'to match D7 core's ajax.js.Powered by Dreditor.
Comment #2
drewish commentedBut this issue is for D6...
Comment #3
drewish commentedCommitted to 6.x, kicking this over to 7.x for review. Make sure to look at Dave Reid's comment in #1.
Comment #4
dave reidBTW, #1 is how ctools for D6 also uses it.
Comment #5
drewish commentedDave Reid, I think you might be mistaken. I just double checked and CTools DRUPAL-6--1 uses the regex I used in this path: http://drupalcode.org/viewvc/drupal/contributions/modules/ctools/js/ajax...
While searching around I came #970536: nojs/ajax replacement fails in various situations which backports the D7 version to D6. I like that it centralizes the regex into a function so I could call it.
Comment #6
dave reidHah, damnit, I had it applied locally... :)
Comment #7
drewish commentedHere's a patch that depends on #970536: nojs/ajax replacement fails in various situations.
Comment #8
eugenmayer commentedJust referencing #1151236: Code dublication of ctools Drupal.CTools.AJAX.ajaxSubmit as we could fix the bug in dialog by properly utilizing ctools as a lib
Comment #9
devin carlson commentedDialog 6.x is no longer supported.