marking this as major because not everyone has access to drush and not every module using tabledrag.js (including drupal core modules) degrade gracefully.
[running drupal HEAD 3ac0d1] chrome dev tools, resources, indicating line 17 misc/tabledrag.js returning:
'Uncaught TypeError: Object [object Object] has no method "once"'
not such a big deal when it affects forms that degrade gracefully, but for example, when running update.php in chrome, update does not run.
if Drupal.behaviors.tabledrag is setting a drupal variable only once, what happens in case that variable doesn't exist when called?
tabledrag.js, line 18:
// Create the new tableDrag instance. Save in the Drupal variable
// to allow other scripts access to the object.
Comments
Comment #1
jaypark commentednotes:
0. recently merged sites with another dev; used his db as the initial db and merged his git branches corresponding to his db.
1. .gitignore includes sites/default; don't know js or how drupal works with it but if there's a dependency on a js file inside sites/default/files/ that could be the issue. was told if we have a dependency on anything inside files/ we're developing wrong.
2. databases values are feature exported where available. if there are system settings (such as retrieved with variable_get) on which tabledrag.js depends, this could also be the issue source.
there has got to be a better way to keep dev site dbs synchronized between dev sites, staging and production...
Comment #2
tim.plunkettCan you confirm that this is also broken in D8?
Can you give specific steps to reproduce on a clean install?
Comment #3
jasdev.moun commentedHey Jaypark, can you state the problem little clearly 'cause I have wasted half an hour just to decode what you're saying and still don't have any clue.
Comment #4
NegativeK commentedI'm unable to replicate JS errors regarding misc/tabledrag.js with the information provided.
Please reopen with steps to reproduce if the issue persists.
Comment #4.0
NegativeK commentedreworded for clarity