Skip to content

Commit 75f737a

Browse files
authored
Merge pull request #271 from JoomJunk/development
Update to v8.1.4
2 parents 92930fb + bc38331 commit 75f737a

File tree

6 files changed

+13
-3
lines changed

6 files changed

+13
-3
lines changed

changelog.php

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,10 @@
1414
- -> Removed
1515
! -> Note
1616

17+
Version 8.1.4
18+
# Fixed duplicate submissions when button is clicked multiple times
19+
! Last version for Joomla 3.4 and 3.5
20+
1721
Version 8.1.3
1822
# Fixed profile link not working
1923

mod_shoutbox/fields/pro.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ class JFormFieldPro extends JFormField
2727
protected function getLabel()
2828
{
2929
$app = JFactory::getApplication();
30-
$msg = '<h3>Love JJ Shoutbox? Take a look at the <a href="http://joomjunk.co.uk/products/shoutbox-pro.html" target="_blank">Pro version</a> which is packed with many more features.</h3>';
30+
$msg = '<h3>Love JJ Shoutbox? Take a look at the <a href="https://joomjunk.co.uk/products/ajax-shoutbox-pro.html" target="_blank">Pro version</a> which is packed with many more features.</h3>';
3131

3232
return $app->enqueueMessage($msg, 'message');
3333
}

mod_shoutbox/media/js/mod_shoutbox.js

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -544,6 +544,9 @@ jQuery(document).ready(function($) {
544544
request['Itemid'] = params.itemId;
545545
}
546546

547+
var submitButton = $('#shoutbox-submit');
548+
submitButton.prop('disabled', true);
549+
547550
// AJAX request
548551
$.ajax({
549552
type: 'POST',
@@ -561,7 +564,8 @@ jQuery(document).ready(function($) {
561564
params.instance.find('#shoutbox-name').val('');
562565
}
563566

564-
$('#shoutbox-submit').val(Joomla.JText._('SHOUT_SUBMITTEXT'));
567+
submitButton.prop('disabled', false);
568+
submitButton.val(Joomla.JText._('SHOUT_SUBMITTEXT'));
565569

566570
$('#shout-submit-type').attr('data-submit-type', 'insert')
567571
.attr('data-shout-id', '');

mod_shoutbox/mod_shoutbox.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
<license>http://www.gnu.org/licenses/gpl-3.0.html</license>
88
<authorEmail>admin@joomjunk.co.uk</authorEmail>
99
<authorUrl>http://www.joomjunk.co.uk</authorUrl>
10-
<version>8.1.3</version>
10+
<version>8.1.4</version>
1111
<description>JJSHOUTBOX_DESCRIPTION</description>
1212

1313
<install>
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
# Placeholder file for database changes for version 8.1.4
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
# Placeholder file for database changes for version 8.1.4

0 commit comments

Comments
 (0)