diff --git a/api/js/etemplate/et2_extension_itempicker_actions.js b/api/js/etemplate/et2_extension_itempicker_actions.js index 81c3de63d8..34a70e177e 100644 --- a/api/js/etemplate/et2_extension_itempicker_actions.js +++ b/api/js/etemplate/et2_extension_itempicker_actions.js @@ -10,19 +10,16 @@ * @author Nathan Gray * @copyright 2012 Christian Binder * @copyright 2011 Nathan Gray - * @version $Id: et2_widget_itempicker.js 38623 2012-03-26 23:27:53Z jaytraxx $ */ - -function itempickerDocumentAction(context, data) -{ - "use strict"; - - var formid = "itempicker_action_form"; - var form = "
" - + "" - + "" - + "" - + "
"; - jQuery("body").append(form); - jQuery("#" + formid).submit().remove(); +function itempickerDocumentAction(context, data) { + "use strict"; + var formid = "itempicker_action_form"; + var form = "
" + + "" + + "" + + "" + + "
"; + jQuery("body").append(form); + jQuery("#" + formid).submit().remove(); } +//# sourceMappingURL=et2_extension_itempicker_actions.js.map \ No newline at end of file diff --git a/api/js/etemplate/et2_extension_itempicker_actions.ts b/api/js/etemplate/et2_extension_itempicker_actions.ts new file mode 100644 index 0000000000..4fa825c9bd --- /dev/null +++ b/api/js/etemplate/et2_extension_itempicker_actions.ts @@ -0,0 +1,28 @@ +/** + * EGroupware eTemplate2 - JS Itempicker object + * derived from et2_link_entry widget @copyright 2011 Nathan Gray + * + * @license http://opensource.org/licenses/gpl-license.php GPL - GNU General Public License + * @package etemplate + * @subpackage api + * @link http://www.egroupware.org + * @author Christian Binder + * @author Nathan Gray + * @copyright 2012 Christian Binder + * @copyright 2011 Nathan Gray + */ + +function itempickerDocumentAction(context, data) +{ + "use strict"; + + let formid = "itempicker_action_form"; + let form = "
" + + "" + + "" + + "" + + "
"; + jQuery("body").append(form); + jQuery("#" + formid).submit().remove(); +} +