Plugin Directory

Changeset 1282445


Ignore:
Timestamp:
11/09/2015 11:06:02 AM (10 years ago)
Author:
93digital
Message:

now you can clone a cloned widget without refresh the page

File:
1 edited

Legend:

Unmodified
Added
Removed
  • widget-clone/trunk/nine3-clone-widgets.php

    r1251031 r1282445  
    22/**
    33 * Plugin Name: Widget Clone
    4  * Version: 1.0
     4 * Version: 1.1
    55 * Plugin URI: http://93digital.co.uk/
    66 * Description: Easily duplicate or clone a widget with all of its settings in just one click.
     
    1313
    1414/**
    15  * Widget Clone 
     15 * Widget Clone
    1616 * Copyright (C) 2015, 93digital - [email protected]
    1717 *
     
    5050    Nine3.CloneWidgets = {
    5151        init: function() {
    52             $('.widget-control-actions').on('click', '.clone-me', Nine3.CloneWidgets.Clone);
     52            $('body').on('click', '.widget-control-actions .clone-me', Nine3.CloneWidgets.Clone);
    5353            Nine3.CloneWidgets.Bind();
    5454        },
Note: See TracChangeset for help on using the changeset viewer.