← Back to team overview

mahara-contributors team mailing list archive

[Bug 1305451] [NEW] Content editor sidebar doesn't work on Chrome

 

Public bug reported:

Adding content by clicking an item from the sidebar fails on Chrome.

Steps to repeat:

1. Create a new page
2. Go to Edit content -tab
3. Click on Text box

Expected result:

"Add block: Text box" -popup appears.

Actual result:

Nothing happens.

In file js/views.js, in function ViewManager.makeNewBlocksDraggable the
event handler of the .blocktypelink -elements is assumed that
event.buttons -property exists and that it is a number. However, as you
can see from https://developer.mozilla.org/en-
US/docs/Web/API/MouseEvent.buttons#Browser_compatibility, Chrome doesn't
seem to support the property.

Mahara version: Latest from git (1.9rc2dev)
Browser: Chrome (Linux) 33.0.1750.152

** Affects: mahara
     Importance: Undecided
         Status: New

-- 
You received this bug notification because you are a member of Mahara
Contributors, which is subscribed to Mahara.
Matching subscriptions: Subscription for all Mahara Contributors -- please ask on #mahara-dev or mahara.org forum before editing or unsubscribing it!
https://bugs.launchpad.net/bugs/1305451

Title:
  Content editor sidebar doesn't work on Chrome

Status in Mahara ePortfolio:
  New

Bug description:
  Adding content by clicking an item from the sidebar fails on Chrome.

  Steps to repeat:

  1. Create a new page
  2. Go to Edit content -tab
  3. Click on Text box

  Expected result:

  "Add block: Text box" -popup appears.

  Actual result:

  Nothing happens.

  In file js/views.js, in function ViewManager.makeNewBlocksDraggable
  the event handler of the .blocktypelink -elements is assumed that
  event.buttons -property exists and that it is a number. However, as
  you can see from https://developer.mozilla.org/en-
  US/docs/Web/API/MouseEvent.buttons#Browser_compatibility, Chrome
  doesn't seem to support the property.

  Mahara version: Latest from git (1.9rc2dev)
  Browser: Chrome (Linux) 33.0.1750.152

To manage notifications about this bug go to:
https://bugs.launchpad.net/mahara/+bug/1305451/+subscriptions


Follow ups

References