Yep that mega commit is the problem and it is due to the jQuery and
Mochikit not playing nice. They both want to use $() to access DOM
elements.

I've altered the code so that it uses jQuery, and we know this because
I've gone with jQuery() instead of $() so it is easier to understand
which js library is doing what.

https://reviews.mahara.org/#/c/2471

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

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

Title:
  "Make a copy" in Text Box block no longer works

Status in Mahara ePortfolio:
  In Progress

Bug description:
  While testing https://bugs.launchpad.net/mahara/+bug/1194255 I noticed
  that the "Make a copy" link no longer works. And you no longer get the
  "Make a copy" link while first editing the Text Box.

  To reproduce:

  1. Install Mahara 1.8
  2. Create a page
  3. Put a Text Box on the page. Give it some content so you can tell it apart 
from others.
  4. Put a second Text Box on the page. Use the "Use content from another text 
box" link to make it use the same Note as the first Text Box.

  Expected Results: When you select the first text box, in addition to
  seeing its content in the config form, you should also see a link that
  says "If you edit the text of this block, it will also be changed in 1
  other block(s) where it appears. Make a copy?"

  Actual Result: You do not see that link.

  Carrying on...

  5. Save the second text box.
  6. Click the edit icon for the second text box to edit it further
  7. You will now see the link that asks where you would like to "Make a copy".
  8. Click on that link.
  9. Change the contents of the block.
  10. Save the block.

  Expected Result: The content of the second block will change, and
  there will now be two Notes in your Content->Notes page

  Actual Result: The content of both blocks will change, and there will
  only be one Note in Content->Notes (because it did not actually make a
  copy).

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

_______________________________________________
Mailing list: https://launchpad.net/~mahara-contributors
Post to     : mahara-contributors@lists.launchpad.net
Unsubscribe : https://launchpad.net/~mahara-contributors
More help   : https://help.launchpad.net/ListHelp

Reply via email to