mahara-contributors team mailing list archive
-
mahara-contributors team
-
Mailing list archive
-
Message #50823
[Bug 1801993] Re: Old Mochikit function still in views.js
Environment tested: Master
Browser tested: Chrome
Preconditions:
1) Set in cofig.php file: $cfg->blockeditormaxwidth = true;
Test Steps:
1) log in and add a text block to a portfolio page
Expected result: The text configure flyout modal from the right side of
screen is displayed and the "Block content" editor window is approx 675
px in height (old height was approx 180)
Actual result: As Expected
Catalyst QA Approved ✔
--
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
References