update.manager.inc has the following problematic code.

  drupal_add_css('misc/ui/ui.all.css');
  drupal_add_css('misc/ui/ui.dialog.css');
  drupal_add_js('misc/ui/ui.core.js', array('weight' => JS_LIBRARY + 5));
  drupal_add_js('misc/ui/ui.dialog.js', array('weight' => JS_LIBRARY + 6));

This is broken by the UI 1.8 update since it doesn't use drupal_add_library(). I don't see any side effects and can't find where the dialog or UI code is actually used. I suspect it was probably a precursor to #613654: update.manager.js is missing that has since been outdated and not updated. I think we should probably remove it and follow up with 613654 and have it add it back correctly.

CommentFileSizeAuthor
#3 751752.patch633 bytesneclimdul
#2 751752.patch804 bytesneclimdul

Comments

dww’s picture

Status: Needs review » Needs work

That sounds fine to me. I don't remember adding any of that code. CVS blame points to revision 1.1, so it must have been one of those things that I didn't fully grok or even notice. jQuery and CSS are some of my weaker points, so I tend to wave my hands at those.

Anyway, sure. A patch to remove those 4 lines should be fine, then we can fix all this over at #613654.

Thanks,
-Derek

neclimdul’s picture

Status: Needs work » Needs review
StatusFileSize
new804 bytes

boom, gone! Went ahead and dropped the 5th line that tried to include the JS referenced by the other issue.

neclimdul’s picture

StatusFileSize
new633 bytes

reroll

tobiasb’s picture

Status: Needs review » Reviewed & tested by the community
dries’s picture

Status: Reviewed & tested by the community » Fixed

Committed to CVS HEAD. Thanks.

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.