[CallLog]update CallLog(tizen_2.1)
authorji.ji <ji.ji@samsung.com>
Fri, 10 May 2013 07:43:47 +0000 (16:43 +0900)
committerji.ji <ji.ji@samsung.com>
Fri, 10 May 2013 07:43:47 +0000 (16:43 +0900)
Change-Id: Idac9e5952cd3b05ca0f26caac34eff3b50f3fabe

config.xml
css/style.css
js/app.js
js/app.model.js
js/app.ui.js
signature1.xml [deleted file]
templates/callerHistory.tpl

index 7fbbd7f..fabf393 100644 (file)
@@ -7,7 +7,6 @@
        <content src="index.html" />
        <icon src="icon.png" />
        <name>CallLog</name>
-       <tizen:privilege name="http://tizen.org/privilege/application.read" />
        <tizen:privilege name="http://tizen.org/privilege/application.launch" />
        <tizen:privilege name="http://tizen.org/privilege/callhistory.read" />
        <tizen:privilege name="http://tizen.org/privilege/callhistory.write" />
index 3c04709..4b4a850 100644 (file)
@@ -33,6 +33,10 @@ li {
        width: 100%;
 }
 
+#delete span {
+       border-bottom: 0px;
+}
+
 .hidden {
        display: none;
 }
@@ -392,4 +396,8 @@ li {
 
 .ui-footer .ui-btn-text {
        text-transform: uppercase;
+}
+
+.date.ui-corner-top {
+       border-radius: 0;
 }
\ No newline at end of file
index 2a2fc4e..cbd1038 100644 (file)
--- a/js/app.js
+++ b/js/app.js
@@ -85,8 +85,8 @@ var App = null;
                 * @param {number} contactId
                 * @returns {string} photoURI Photo URI for specified contact
                 */
-               getPhotoURIForContact: function App_getPhotoURIForContact(addressBookId, contactId) {
-                       return this.model.getPhotoURIForContact(addressBookId, contactId);
+               getPhotoURIForContact: function App_getPhotoURIForContact(personId) {
+                       return this.model.getPhotoURIForContact(personId);
                },
 
                /**
index 22a6b51..55ee141 100644 (file)
@@ -77,13 +77,13 @@ function Model() {
                 * @param {number} contactId
                 * @returns {string} photoURI
                 */
-               getPhotoURIForContact: function Model_getPhotoURIForContact(addressBookId, contactId) {
+               getPhotoURIForContact: function Model_getPhotoURIForContact(personId) {
                        try {
-                               var addressBook = tizen.contact.getAddressBook(addressBookId),
+                               var addressBook = tizen.contact.getDefaultAddressBook(),
                                        contact;
 
                                if (addressBook) {
-                                       contact = addressBook.get(contactId);
+                                       contact = addressBook.get(personId);
                                        return contact.photoURI || false;
                                }
                        } catch (e) {
index 13c338f..7385e6b 100644 (file)
@@ -21,6 +21,8 @@ function Ui(contacts) {
 
                addressBook: tizen.contact.getDefaultAddressBook(),
 
+               photoURIdefault: null,
+
                contactsLoaded: null,
 
                /**
@@ -43,7 +45,13 @@ function Ui(contacts) {
                 * When DOM is ready, initialise it (bind events)
                 */
                domInit: function Ui_domInit() {
-                       this.templateManager.loadToCache(['callView', 'callerHistory', 'callItemRow', 'callerCallItemRow', 'messageWindow', 'errorWindow', 'dateRow'], this.initPages.bind(this));
+                       this.templateManager.loadToCache(['callView',
+                               'callerHistory',
+                               'callItemRow',
+                               'callerCallItemRow',
+                               'messageWindow',
+                               'errorWindow',
+                               'dateRow'], this.initPages.bind(this));
                },
 
                /**
@@ -60,6 +68,8 @@ function Ui(contacts) {
 
                        this.addEvents();
                        app.showCallHistory();
+
+                       this.photoURIdefault = $("#header .photo").css('background-image');
                },
 
                /**
@@ -101,7 +111,7 @@ function Ui(contacts) {
                                $('#delete-toolbar').css('width', '70px');
                        });
 
-                       $('.selectAllBox').on('tap', function () {
+                       $('.selectAllBox').children().on('tap', function () {
                                self.selectAll();
                                self.selectAllDetailsEach();
                        });
@@ -464,11 +474,11 @@ function Ui(contacts) {
 
                getNameByNumber: function (number) {
                        var i, j, contact, name;
-                       for(i in this.contactsLoaded) {
-                               if(this.contactsLoaded.hasOwnProperty(i)) {
+                       for (i in this.contactsLoaded) {
+                               if (this.contactsLoaded.hasOwnProperty(i)) {
                                        contact = this.contactsLoaded[i];
-                                       for(j in contact.phoneNumbers) {
-                                               if(contact.phoneNumbers.hasOwnProperty(j)) {
+                                       for (j in contact.phoneNumbers) {
+                                               if (contact.phoneNumbers.hasOwnProperty(j)) {
                                                        if (contact.phoneNumbers[j].number.substr(-9)
                                                                        === number.substr(-9)) {
                                                                name = contact.name.displayName;
@@ -567,25 +577,22 @@ function Ui(contacts) {
                 * @param {number} numberOfEntries
                 */
                updateCallerHeader: function Ui_updateCallerHeader(entry, numberOfEntries) {
-                       var name = '',
-                               photoURIdefault = '../images/no_photo.png',
-                               party,
-                               imgPath;
+                       var name = '', party, imgPath, personId;
 
-                       $('.infoContainer .photo').css('background-image', photoURIdefault);
+                       $('#header .photo').css('background-image', this.photoURIdefault);
 
                        if (entry.remoteParties !== null) {
                                party = entry.remoteParties[0];
+                               personId = parseInt(party.personId, 10);
                                name = this.getNameByNumber(party.remoteParty);
                                if (party.displayName) {
                                        this.updateCallerHeaderAccountId(party.remoteParty);
                                }
                                this.updateCallerHeaderNumberOfEntries(numberOfEntries);
-
-                               if (party.contactRef) {
-                                       imgPath = app.getPhotoURIForContact(party.contactRef.addressBookId, party.contactRef.contactId);
+                               if (personId !== 0) {
+                                       imgPath = app.getPhotoURIForContact(personId);
                                        if (imgPath !== false) {
-                                               $('.contact > .infoContainer > .photo').css('background-image', imgPath);
+                                               $('#header .photo').css('background-image', 'url(' + imgPath + ')');
                                        }
                                }
                        } else if (entry.contactId !== null) {
diff --git a/signature1.xml b/signature1.xml
deleted file mode 100644 (file)
index b76b2ff..0000000
+++ /dev/null
@@ -1,196 +0,0 @@
-<Signature xmlns="http://www.w3.org/2000/09/xmldsig#" Id="DistributorSignature">
-<SignedInfo>
-<CanonicalizationMethod Algorithm="http://www.w3.org/2001/10/xml-exc-c14n#"></CanonicalizationMethod>
-<SignatureMethod Algorithm="http://www.w3.org/2001/04/xmldsig-more#rsa-sha256"></SignatureMethod>
-<Reference URI="templates/callItemRow.tpl">
-<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
-<DigestValue>4sxCwRJLileR/FWCD8cpqBMQMskSBl0jWHVgERwV/uk=</DigestValue>
-</Reference>
-<Reference URI="templates/callView.tpl">
-<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
-<DigestValue>zAh+lshQHpkcSKDtupbVE5ph9s6YS2EwJZM5iARb9b0=</DigestValue>
-</Reference>
-<Reference URI="templates/messageWindow.tpl">
-<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
-<DigestValue>zizbjxoYr3Gs+5pyl5lnHw9brODiUE6nXCf8t2IcBJo=</DigestValue>
-</Reference>
-<Reference URI="templates/callerCallItemRow.tpl">
-<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
-<DigestValue>QOmskNN08pvlFgiaVKgKY/piq6QkZrlk7T91+KhqCuA=</DigestValue>
-</Reference>
-<Reference URI="templates/callerHistory.tpl">
-<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
-<DigestValue>jrY3MtLfRuWWLrbvw9wZIBjm23ugG4OnLwwiY9t1DAk=</DigestValue>
-</Reference>
-<Reference URI="templates/dateRow.tpl">
-<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
-<DigestValue>/Dl9pD0XveYoXERZZB5zNk1bxigvqzS8unKTcrO7sQs=</DigestValue>
-</Reference>
-<Reference URI="AUTHORS">
-<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
-<DigestValue>P+o5R7dM42USyEsXC/oKONcRkqdggWrHgFiTdiZtqdk=</DigestValue>
-</Reference>
-<Reference URI="images/address_plus_btn.png">
-<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
-<DigestValue>bnuIxB6oDpdndSqeHCvTxfVGc2eR0EY1DP6N2mJDbco=</DigestValue>
-</Reference>
-<Reference URI="images/logs_list_received_icon.png">
-<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
-<DigestValue>iOoKv4ErjtU+0R9T8SiAL4NSEykaGJNeEKeBudfbD+M=</DigestValue>
-</Reference>
-<Reference URI="images/logs_list_call_icon.png">
-<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
-<DigestValue>81lV8Oez3j3l6hxj92EiASTxuy1UF6gmoj0Oil5S6OU=</DigestValue>
-</Reference>
-<Reference URI="images/logs_list_sms_icon.png">
-<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
-<DigestValue>jIuKTyBnNwGkaJTT52wctwmBeXGg0m0Dv4XVl42hS9I=</DigestValue>
-</Reference>
-<Reference URI="images/logs_list_mms_icon.png">
-<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
-<DigestValue>UxOHSiYuvHtx46hsPYFX6DsPhFs5QOv659m2+uGWf2U=</DigestValue>
-</Reference>
-<Reference URI="images/exit.png">
-<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
-<DigestValue>/7sie9pvGi2wl5CraPnzfcVu4mOuOTeCR8YdxK5Y25w=</DigestValue>
-</Reference>
-<Reference URI="images/trash.png">
-<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
-<DigestValue>uBX82SVXiezz5mEInzis/mt17+WVcVCM6ilHz0/YlV0=</DigestValue>
-</Reference>
-<Reference URI="images/checkboxChecked.png">
-<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
-<DigestValue>YdnzStTho+LV5YvBvsZtf4Xm9GcornMYu1azgPXyQCA=</DigestValue>
-</Reference>
-<Reference URI="images/logs_list_block_icon.png">
-<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
-<DigestValue>IfLZ4tpj3FgKl6dcaLPMvvPRYsuClEleFFwAg6CIZjU=</DigestValue>
-</Reference>
-<Reference URI="images/no_photo.png">
-<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
-<DigestValue>66GD2h7OrzSUM/5yClF0fIoEKUD4WS71QUrxw6uXOvU=</DigestValue>
-</Reference>
-<Reference URI="images/logs_list_rejected_icon.png">
-<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
-<DigestValue>skPgoCWaGTdvyZLCxeqpx3iOxs9H8bx8143Rg4DHI2s=</DigestValue>
-</Reference>
-<Reference URI="images/logs_list_missed_unchecked_icon.png">
-<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
-<DigestValue>u8Wj1LjdpqYdMjhKzFP5eITopA7+EmULjzf3lsRDcHk=</DigestValue>
-</Reference>
-<Reference URI="images/address_minus_btn.png">
-<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
-<DigestValue>nhJbLLGnUsuliJJWI4BJkl9ycJBGexZ6JHwOu+G59Xg=</DigestValue>
-</Reference>
-<Reference URI="images/logs_list_missed_icon.png">
-<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
-<DigestValue>kFTDAqiU47mvboCGg7ujMElH+Xf0uRsctTu3ozC9Sao=</DigestValue>
-</Reference>
-<Reference URI="images/logs_list_vtcall_icon.png">
-<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
-<DigestValue>28+JIc60cZ6MdF3dT1CH5y7QUi5K9aoMCtwdYY71Bs4=</DigestValue>
-</Reference>
-<Reference URI="images/logs_list_dialled_icon.png">
-<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
-<DigestValue>02/A6q6anjAnlv8+mKDhOZj2zkKjV45IjoCQ5OARt60=</DigestValue>
-</Reference>
-<Reference URI="LICENSE.Flora">
-<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
-<DigestValue>fskt8W7B8EMb3DQsvwT98x4fPKKIjY9sS5E0eSGenFA=</DigestValue>
-</Reference>
-<Reference URI="js/app.ui.templateManager.js">
-<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
-<DigestValue>1wi+FYCd2XtxgtfDgKXqMrJ/TNEjiWZaN19Hmi9Ad8k=</DigestValue>
-</Reference>
-<Reference URI="js/app.ui.js">
-<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
-<DigestValue>xczGoxqkK1wAAeUDun8hxzBz4zdtc7wfi4IFez8yANg=</DigestValue>
-</Reference>
-<Reference URI="js/app.js">
-<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
-<DigestValue>0TFqKbHeIqh0CHUAqosklwAx+QfWXwvxWpoSd/gdrUo=</DigestValue>
-</Reference>
-<Reference URI="js/main.js">
-<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
-<DigestValue>Z9FQh/1ZsneoCws9gBJVOaySYoBYkSAqi24KyH6jp+o=</DigestValue>
-</Reference>
-<Reference URI="js/app.model.js">
-<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
-<DigestValue>63yCNuxtuS4jhue54daCfmLky8ZfQSrn51tKuONfhys=</DigestValue>
-</Reference>
-<Reference URI="js/app.helpers.js">
-<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
-<DigestValue>Oe5RarrmNZ93kH0d7N80aq3gUvHjKydoqYneoo08pN4=</DigestValue>
-</Reference>
-<Reference URI="js/app.config.js">
-<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
-<DigestValue>pZo4kGFmUCAFslvEb4ja2ZdUzhpyQgjyETJhKTpB3Vo=</DigestValue>
-</Reference>
-<Reference URI="config.xml">
-<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
-<DigestValue>FdOTWPDDtUhn2z/faNgKgtH/qHeGkvQgZ7b09kEK3bY=</DigestValue>
-</Reference>
-<Reference URI="icon.png">
-<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
-<DigestValue>Nz+SecsjmNuidhKNvmQ5+3nasrw8vI4q/bjPgbfx5fI=</DigestValue>
-</Reference>
-<Reference URI="index.html">
-<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
-<DigestValue>+ubnTnacbhBe4IImLMcYOSf8EvLo1Ic2+Ef4ubWSI/U=</DigestValue>
-</Reference>
-<Reference URI="css/style.css">
-<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
-<DigestValue>exzeWv5XiFeChv8h9Zc/dVf0vHJfACbRdn44rmSgKeQ=</DigestValue>
-</Reference>
-<Reference URI="NOTICE.Flora">
-<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
-<DigestValue>M7oEsiEdLNeaSAYdtR7uR5WGeAELG/V70u7Huzl42Xs=</DigestValue>
-</Reference>
-<Reference URI="#prop">
-<Transforms>
-<Transform Algorithm="http://www.w3.org/2006/12/xml-c14n11"></Transform>
-</Transforms>
-<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
-<DigestValue>u/jU3U4Zm5ihTMSjKGlGYbWzDfRkGphPPHx3gJIYEJ4=</DigestValue>
-</Reference>
-</SignedInfo>
-<SignatureValue>
-P0siyKCMIHc1S97HytgYawWEmoiViLT4zLJqTcEnVoaNpt4ZgSE+glLiHDBLeucBQweMHmFz4FRs
-Ih0Ds7Fahpw0voeVhUt/pOEt/aetD22exCh7YuttAm7II8xc7jVxPW8eo/XUhhTq2twTaCH3D1Qs
-ZYxAOXb7nhFikbpt014=
-</SignatureValue>
-<KeyInfo>
-<X509Data>
-<X509Certificate>
-MIICnTCCAgYCCQDE9MbMmJ/yCzANBgkqhkiG9w0BAQUFADCBkDELMAkGA1UEBhMCS1IxDjAMBgNV
-BAgMBVN1d29uMQ4wDAYDVQQHDAVTdXdvbjEWMBQGA1UECgwNVGl6ZW4gVGVzdCBDQTEiMCAGA1UE
-CwwZVGl6ZW4gRGlzdHJpYnV0b3IgVGVzdCBDQTElMCMGA1UEAwwcVGl6ZW4gUGFydG5lciBEaXN0
-cmlidXRvciBDQTAeFw0xMjEwMjcwNzQ4MzNaFw0yMjEwMjUwNzQ4MzNaMIGUMQswCQYDVQQGEwJL
-UjEOMAwGA1UECAwFU3V3b24xDjAMBgNVBAcMBVN1d29uMRYwFAYDVQQKDA1UaXplbiBUZXN0IENB
-MSIwIAYDVQQLDBlUaXplbiBEaXN0cmlidXRvciBUZXN0IENBMSkwJwYDVQQDDCBUaXplbiBQYXJ0
-bmVyIERpc3RyaWJ1dG9yIFNpZ25lcjCBnzANBgkqhkiG9w0BAQEFAAOBjQAwgYkCgYEAy9mg2x4B
-zxlK3LJL81GsLq/pJfK1evdCKG/IOBpdoRO0rLhYnsL5+KvToPFa5g9GTZo32LikpW1NZ7++3EHE
-fnO2IGLUau4kquvhmz1LNg5xBTx7IbucmwLMRGo1BPGdsAQQLyXeQKJ5PCERmVg4MIoiL2zT/JsL
-sZ9UPT6GEB8CAwEAATANBgkqhkiG9w0BAQUFAAOBgQAw5xPBFR1XKuZ8QpsCtSE0zXVHvwIa+Ha4
-YBdRtGwEoZmiKGZV/wAhPRdmR0kISkTz20kIGz/ZwRZCVGhsr5hkkpFknYlKeKkEJ/tJfZl4D7ec
-GFAnynOzlWZqSIPz+yxX8ah9E6lTv4Vs9DhNb08nxVvxLqlpyVdk9RUsCx/yIA==
-</X509Certificate>
-<X509Certificate>
-MIICtTCCAh6gAwIBAgIJAKORBcIiXygIMA0GCSqGSIb3DQEBBQUAMIGVMQswCQYDVQQGEwJLUjEO
-MAwGA1UECAwFU3V3b24xDjAMBgNVBAcMBVN1d29uMRYwFAYDVQQKDA1UaXplbiBUZXN0IENBMSIw
-IAYDVQQLDBlUaXplbiBEaXN0cmlidXRvciBUZXN0IENBMSowKAYDVQQDDCFUaXplbiBQYXJ0bmVy
-IERpc3RyaWJ1dG9yIFJvb3QgQ0EwHhcNMTIxMDI3MDc0NTIwWhcNMjIxMDI1MDc0NTIwWjCBkDEL
-MAkGA1UEBhMCS1IxDjAMBgNVBAgMBVN1d29uMQ4wDAYDVQQHDAVTdXdvbjEWMBQGA1UECgwNVGl6
-ZW4gVGVzdCBDQTEiMCAGA1UECwwZVGl6ZW4gRGlzdHJpYnV0b3IgVGVzdCBDQTElMCMGA1UEAwwc
-VGl6ZW4gUGFydG5lciBEaXN0cmlidXRvciBDQTCBnzANBgkqhkiG9w0BAQEFAAOBjQAwgYkCgYEA
-2ZQrdEowjqxUmB8FX8ej19VKY6jGHKNIRE5wrhBkuZ1b0FLRPiN3/Cl9wMkCnyJui4QhC28g1aBg
-w/JnaObcDqW1NgFVH3006+gZvCTDlw1nIEjvZa6P+uWOOi05xPPAE0feKPkO1POnOjnapfkkEVNU
-8TXsLbLYBylWT8rxZC8CAwEAAaMQMA4wDAYDVR0TBAUwAwEB/zANBgkqhkiG9w0BAQUFAAOBgQBJ
-yJ7p6qs0JI+1iKOk/sYWVP6dMueY72qOc/wVj5c3ejOlgJNNXDMAQ14QcRRexffc68ipTwybU/3m
-tcNwydzKJe+GFa4b2zyKOvOgrfs4MKSR0T9XEPmTKeR+NDT2CbA6/kQoRYm0fSORzD2UXJzNZWe/
-WjwSA66hv4q+0QZQFQ==
-</X509Certificate>
-</X509Data>
-</KeyInfo>
-<Object Id="prop"><SignatureProperties xmlns:dsp="http://www.w3.org/2009/xmldsig-properties"><SignatureProperty Id="profile" Target="#DistributorSignature"><dsp:Profile URI="http://www.w3.org/ns/widgets-digsig#profile"></dsp:Profile></SignatureProperty><SignatureProperty Id="role" Target="#DistributorSignature"><dsp:Role URI="http://www.w3.org/ns/widgets-digsig#role-distributor"></dsp:Role></SignatureProperty><SignatureProperty Id="identifier" Target="#DistributorSignature"><dsp:Identifier></dsp:Identifier></SignatureProperty></SignatureProperties></Object>
-</Signature>
\ No newline at end of file
index d5868f8..ec9a3b5 100644 (file)
@@ -28,7 +28,7 @@
                        <div data-role="tabbar" data-style="toolbar" id="delete-toolbar">
                                <ul>
                                        <li id="delete">
-                                               <a id="deleteActionBtn" data-icon="ctrlbar-delete">Delete</a>
+                                               <a id="deleteActionBtn">Delete</a>
                                        </li>
                                </ul>
                        </div>