In Drupal 7, the user information was not being passed to Olark through javascript like it should. I have modified the olark.js file to be compliant with Drupal 7 standards and it now works fine.
| Comment | File | Size | Author |
|---|---|---|---|
| #7 | javascript_not_passing-1785322-7.patch | 2.04 KB | joelpittet |
| #5 | olark-js-to-d7-update-1785322-5.patch | 2.22 KB | jsagotsky |
| #4 | olark-js-to-d7-update-1785322-4.patch | 2.18 KB | undrgrnd |
| #3 | olark-js-to-d7-update-1785322-3.patch | 2.27 KB | undrgrnd |
| #1 | olark-javascript-vars-1785322-1.patch | 2.4 KB | ledzepp94 |
Comments
Comment #1
ledzepp94 commentedAttached is the patch.
Comment #2
kalman.hosszu commentedYou should correct the code based on coding standards.
Comment #3
undrgrnd commentedUsing the above patch, made a small JS update to better track the users email and name as it wasn't properly working.
Comment #4
undrgrnd commentedSorry, file I attached had incorrect directory structure, I cleaned it up.
Comment #5
jsagotsky commentedRerolled to include http://drupal.org/node/1433260
Comment #6
joelpittetHere's a review:
Why the need for jQuery?
I've removed this upstream no need to keep commented code out.
Comment #7
joelpittetHow's this for clean-up?
attach has a settings argument too:)
Comment #8
joelpittetSorry for the 2 year delay into looking at this. Promise if someone reviews this it will get committed this week. If not I'll likely commit it anyways:P
Comment #9
joelpittetComment #10
joelpittetCommitted to -dev.