Skip to content

Commit

Permalink
Merge pull request #271 from JoomJunk/development
Browse files Browse the repository at this point in the history
Update to v8.1.4
  • Loading branch information
C-Lodder authored Jul 12, 2016
2 parents 92930fb + bc38331 commit 75f737a
Show file tree
Hide file tree
Showing 6 changed files with 13 additions and 3 deletions.
4 changes: 4 additions & 0 deletions changelog.php
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,10 @@
- -> Removed
! -> Note

Version 8.1.4
# Fixed duplicate submissions when button is clicked multiple times
! Last version for Joomla 3.4 and 3.5

Version 8.1.3
# Fixed profile link not working

Expand Down
2 changes: 1 addition & 1 deletion mod_shoutbox/fields/pro.php
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ class JFormFieldPro extends JFormField
protected function getLabel()
{
$app = JFactory::getApplication();
$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>';
$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>';

return $app->enqueueMessage($msg, 'message');
}
Expand Down
6 changes: 5 additions & 1 deletion mod_shoutbox/media/js/mod_shoutbox.js
Original file line number Diff line number Diff line change
Expand Up @@ -544,6 +544,9 @@ jQuery(document).ready(function($) {
request['Itemid'] = params.itemId;
}

var submitButton = $('#shoutbox-submit');
submitButton.prop('disabled', true);

// AJAX request
$.ajax({
type: 'POST',
Expand All @@ -561,7 +564,8 @@ jQuery(document).ready(function($) {
params.instance.find('#shoutbox-name').val('');
}

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

$('#shout-submit-type').attr('data-submit-type', 'insert')
.attr('data-shout-id', '');
Expand Down
2 changes: 1 addition & 1 deletion mod_shoutbox/mod_shoutbox.xml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
<license>http://www.gnu.org/licenses/gpl-3.0.html</license>
<authorEmail>[email protected]</authorEmail>
<authorUrl>http://www.joomjunk.co.uk</authorUrl>
<version>8.1.3</version>
<version>8.1.4</version>
<description>JJSHOUTBOX_DESCRIPTION</description>

<install>
Expand Down
1 change: 1 addition & 0 deletions mod_shoutbox/sql/mysql/updates/8.1.4.sql
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
# Placeholder file for database changes for version 8.1.4
1 change: 1 addition & 0 deletions mod_shoutbox/sql/postgresql/updates/8.1.4.sql
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
# Placeholder file for database changes for version 8.1.4

0 comments on commit 75f737a

Please sign in to comment.