mirror of
https://github.com/e107inc/e107.git
synced 2025-02-12 10:40:20 +01:00
15 lines
331 B
PHP
15 lines
331 B
PHP
|
<?php
|
||
|
|
||
|
if (!defined('e107_INIT')) { exit; }
|
||
|
|
||
|
// Moc - temporary solution until a global/common clone method is created which replaces duplicateHTML()
|
||
|
e107::js("footer-inline", "
|
||
|
|
||
|
$('#addoption').click(function () {
|
||
|
|
||
|
$('#poll_answer').clone().appendTo('#pollsection').find('input[type=text]').val('');
|
||
|
|
||
|
});
|
||
|
");
|
||
|
|
||
|
?>
|