diff --git a/apps/spreadsheeteditor/mobile/app/template/AddImage.template b/apps/spreadsheeteditor/mobile/app/template/AddImage.template
deleted file mode 100644
index c6d18ccc3..000000000
--- a/apps/spreadsheeteditor/mobile/app/template/AddImage.template
+++ /dev/null
@@ -1,70 +0,0 @@
-
-
-
-
-
-
-
-
-
Address
-
-
- <% if (android) { %>
-
Insert Image
- <% } else { %>
-
- <% } %>
-
-
-
-
\ No newline at end of file
diff --git a/apps/spreadsheeteditor/mobile/app/template/AddTable.template b/apps/spreadsheeteditor/mobile/app/template/AddTable.template
deleted file mode 100644
index 69398316d..000000000
--- a/apps/spreadsheeteditor/mobile/app/template/AddTable.template
+++ /dev/null
@@ -1,12 +0,0 @@
-
-
-
-
- <% _.each(styles, function(style) { %>
- -
-
-
- <% }); %>
-
-
-
\ No newline at end of file
diff --git a/apps/spreadsheeteditor/mobile/app/view/add/AddOther.js b/apps/spreadsheeteditor/mobile/app/view/add/AddOther.js
index f5e2034c3..3eba05fd2 100644
--- a/apps/spreadsheeteditor/mobile/app/view/add/AddOther.js
+++ b/apps/spreadsheeteditor/mobile/app/view/add/AddOther.js
@@ -117,7 +117,7 @@ define([
$('#addimage-url').single('click', this.showImageFromUrl.bind(this));
$('#addimage-file').single('click', function () {
- this.fireEvent('insert:image',[{islocal:true}]);
+ this.fireEvent('image:insert',[{islocal:true}]);
}.bind(this));
},
@@ -140,7 +140,7 @@ define([
display = $('#add-link-display input').val(),
tip = $('#add-link-tip input').val();
- this.fireEvent('insert:link', [{url:url, text:display, tooltip:tip}]);
+ this.fireEvent('link:insert', [{url:url, text:display, tooltip:tip}]);
},
showImageFromUrl: function () {
@@ -151,7 +151,7 @@ define([
$('#addimage-insert a').single('click', _.buffered(function () {
var value = ($input.val()).replace(/ /g, '');
- me.fireEvent('insert:image', [{islocal:false, url:value}]);
+ me.fireEvent('image:insert', [{islocal:false, url:value}]);
}, 100, me));
var $btnInsert = $('#addimage-insert');