← Back to team overview

mahara-contributors team mailing list archive

[Bug 1801993] [NEW] Old Mochikit function still in views.js

 

Public bug reported:

When we have the config setting $cfg->blockeditormaxwidth set to true

And go to add a block to a page we get an error -> "ReferenceError:
getViewportDimensions is not defined"

This is due to the getViewportDimensions() function being an old
MochiKit function.

We need to adjust this to get the needed value from a jQuery function

** Affects: mahara
     Importance: High
         Status: In Progress

** Changed in: mahara
   Importance: Undecided => High

** Changed in: mahara
       Status: New => In Progress

** Changed in: mahara
    Milestone: None => 19.04.0

-- 
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/1801993

Title:
  Old Mochikit function still in views.js

Status in Mahara:
  In Progress

Bug description:
  When we have the config setting $cfg->blockeditormaxwidth set to true

  And go to add a block to a page we get an error -> "ReferenceError:
  getViewportDimensions is not defined"

  This is due to the getViewportDimensions() function being an old
  MochiKit function.

  We need to adjust this to get the needed value from a jQuery function

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


Follow ups