Quantcast
Channel: General developer forum
Viewing all articles
Browse latest Browse all 37670

Re: Solving Moodle's edit mode clutter

$
0
0
by Frankie Kam.  

Hi Damyon

I've pinned it down to this code. In /course/lib.php, line 3243 onwards (Moodle 2.4):

if ($moveselect) {
   $actions[] = new action_link(
   new moodle_url($baseurl, array('copy' => $mod->id)),
   new pix_icon('t/move', $str->move, 'moodle', array('class' =>'iconsmall', 'title' => '')),
   null,
   array('class' => 'editing_move', 'title' => $str->move)
);

But I'm nowhere nearer to my goal which to control that Javascript move icon so that it appears only when I mousehover on it.

(if it's JS you might need to ensure it runs after the move icon is added to the page)
>
Any suggestions/ideas how I can "ensure that it runs after the move icon is added"?

Frankie


Viewing all articles
Browse latest Browse all 37670

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>