latest updates
[namibia] / public / js / app / element-library.js
index e946889..8d8c0a8 100644 (file)
                                        var html = '<label class="control-label mobile-control-label" ';
                                        html += 'for="' + meta.id + '">' + meta.title + ':</label>';
                                        html += '<div class="input-prepend">';
-                                       html += '<span class="add-on">+27</span>';
+                                       html += '<span class="add-on">+264</span>';
                                        html += '<input class="information-input mobile-information-input-short ' + (meta.style ? meta.style : '') + '" ';
                                        html += 'type="text" id="' + meta.id + '" name="' + meta.id + '"' + disabled + '>';
                                        html += '</div>';
                                        {
                                                value = value.substring(1);
                                        }
-                                       if ('string' == typeof value && '27' == value.substring(0,2))
+                                       if ('string' == typeof value && '264' == value.substring(0,2))
                                        {
                                                value = value.substring(2);
                                        }
-                                       if ('string' == typeof value && '+27' == value.substring(0,3))
+                                       if ('string' == typeof value && '+264' == value.substring(0,3))
                                        {
                                                value = value.substring(3);
                                        }
                                        {
                                                value = value.substring(1);
                                        }
-                                       if (value && '+27' == value.substring(0,3))
+                                       if (value && '+264' == value.substring(0,3))
                                        {
                                                value = value.substring(3);
                                        }
-                                       return '+27' + value;
+                                       return '+264' + value;
                                        break;
                                case 'htmltext':
                                        return $('#' + meta.id).html();