Skip to content

Commit

Permalink
Plays soundeffect when saving bundle
Browse files Browse the repository at this point in the history
  • Loading branch information
Tim Geyssens committed Jul 5, 2013
1 parent d43f6af commit 7db4652
Show file tree
Hide file tree
Showing 5 changed files with 13 additions and 2 deletions.
Binary file not shown.
1 change: 1 addition & 0 deletions BundlingAndMinificationForTheMasses/Optimus.csproj
Expand Up @@ -337,6 +337,7 @@
<Content Include="Content\images\xls.png" />
<Content Include="Content\images\zip.png" />
<Content Include="Content\jqueryFileTree.css" />
<Content Include="Content\Morphing.mp3" />
<Content Include="Content\style.css" />
<Content Include="Content\themes\base\images\animated-overlay.gif" />
<Content Include="Content\themes\base\images\ui-bg_flat_0_aaaaaa_40x100.png" />
Expand Down
7 changes: 6 additions & 1 deletion BundlingAndMinificationForTheMasses/Views/Index.cshtml
Expand Up @@ -42,7 +42,7 @@
<script>
var data = [];
var snd = new Audio("Content/Morphing.mp3");
function FillData() {
Expand All @@ -59,6 +59,8 @@
$(document).ready(function () {
//Setup file tree
$('#file_tree').fileTree({
script: 'Services/jqueryfiletree.aspx',
Expand Down Expand Up @@ -112,6 +114,9 @@
success: function() {
//Saved file
console.log("Saved");
//play sound effect
snd.play();
//Show notification success bubble
UmbClientMgr.mainWindow().UmbSpeechBubble.ShowMessage('save', 'Saved Bundle', 'Bundle successfully saved');
}
Expand Down
Binary file added TestSite/App_Plugins/Optimus/Content/Morphing.mp3
Binary file not shown.
7 changes: 6 additions & 1 deletion TestSite/App_Plugins/Optimus/Views/Index.cshtml
Expand Up @@ -42,7 +42,7 @@
<script>
var data = [];
var snd = new Audio("Content/Morphing.mp3");
function FillData() {
Expand All @@ -59,6 +59,8 @@
$(document).ready(function () {
//Setup file tree
$('#file_tree').fileTree({
script: 'Services/jqueryfiletree.aspx',
Expand Down Expand Up @@ -112,6 +114,9 @@
success: function() {
//Saved file
console.log("Saved");
//play sound effect
snd.play();
//Show notification success bubble
UmbClientMgr.mainWindow().UmbSpeechBubble.ShowMessage('save', 'Saved Bundle', 'Bundle successfully saved');
}
Expand Down

0 comments on commit 7db4652

Please sign in to comment.