Changeset 1709921
- Timestamp:
- 08/08/2017 03:09:08 AM (9 years ago)
- Location:
- wp-vbx-lite/trunk
- Files:
-
- 3 edited
-
assets/js/admin.js (modified) (1 diff)
-
readme.txt (modified) (2 diffs)
-
wp-vbx.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
wp-vbx-lite/trunk/assets/js/admin.js
r1624295 r1709921 127 127 $('body').on('click', '.menu_option_controls a.add', function(event) { 128 128 event.preventDefault(); 129 var index = $( '.vbx-menu-options label').last().attr('data-index');129 var index = $(this).parents('.applet-content').find('.vbx-menu-options label').last().attr('data-index'); 130 130 index++; 131 131 var flowindex = jQuery(this).parents('.applet-content').find('span.index').text(); 132 132 flowindex--; 133 $( '.vbx-menu-options label').last().after('<label data-index="'+index+'">Keys: <input name="flow['+parseInt(flowindex)+'][menu_options]['+index+']" value="" type="text"><div class="dropzone" data-index="'+parseInt(flowindex)+'"><input class="drop" type="hidden" name="flow['+parseInt(flowindex)+'][menu_option_'+index+']" value=""><div class="flow ui-droppable" style=""></div><div class="backdrop"><p>Drop Applet Here</p></div></div><div class="menu_option_controls"><a href="#" class="remove"><span class="dashicons dashicons-minus"></span></a><a href="#" class="add"><span class="dashicons dashicons-plus"></span></a></div></label>');133 $(this).parents('.applet-content').find('.vbx-menu-options label').last().after('<label data-index="'+index+'">Keys: <input name="flow['+parseInt(flowindex)+'][menu_options]['+index+']" value="" type="text"><div class="dropzone" data-index="'+parseInt(flowindex)+'"><input class="drop" type="hidden" name="flow['+parseInt(flowindex)+'][menu_option_'+index+']" value=""><div class="flow ui-droppable" style=""></div><div class="backdrop"><p>Drop Applet Here</p></div></div><div class="menu_option_controls"><a href="#" class="remove"><span class="dashicons dashicons-minus"></span></a><a href="#" class="add"><span class="dashicons dashicons-plus"></span></a></div></label>'); 134 134 $('.vbx-menu-options label[data-index="'+index+'"]').find('.flow').droppable(dropArgs); 135 135 }); -
wp-vbx-lite/trunk/readme.txt
r1707014 r1709921 3 3 Tags: phone, twilio, utilities, general, vbx, professional, calls, voicemail, messages, sms, text, text message 4 4 Requires at least: 4.6 5 Tested up to: 4. 75 Tested up to: 4.8 6 6 Stable tag: trunk 7 7 License: GPLv2 or later … … 54 54 == Changelog == 55 55 56 === Version 1.2.3 === 57 Fixes a bug with nested menus 58 56 59 === Version 1.2.2 === 57 60 Exposed some applet functions for extendability -
wp-vbx-lite/trunk/wp-vbx.php
r1707014 r1709921 5 5 Plugin URI: https://roblesterjr.com/wp-vbx 6 6 Description: Wordpress VBX - Powered by Twilio. Provides an internet based phone system managed right from your wordpress site. 7 Version: 1.2. 27 Version: 1.2.3 8 8 Author: Robert Lester 9 9 Author URI: https://roblesterjr.com
Note: See TracChangeset
for help on using the changeset viewer.