Git Repository Public Repository

namibia

URLs

Copy to Clipboard

Diff Revisions df0489 ... vs 00360e ... for /public/js/app/element-library.js

Diff revisions: vs.
  @@ -769,7 +769,7 @@
769 769 var html = '<label class="control-label mobile-control-label" ';
770 770 html += 'for="' + meta.id + '">' + meta.title + ':</label>';
771 771 html += '<div class="input-prepend">';
772 - html += '<span class="add-on">+27</span>';
772 + html += '<span class="add-on">+264</span>';
773 773 html += '<input class="information-input mobile-information-input-short ' + (meta.style ? meta.style : '') + '" ';
774 774 html += 'type="text" id="' + meta.id + '" name="' + meta.id + '"' + disabled + '>';
775 775 html += '</div>';
  @@ -1210,11 +1210,11 @@
1210 1210 {
1211 1211 value = value.substring(1);
1212 1212 }
1213 - if ('string' == typeof value && '27' == value.substring(0,2))
1213 + if ('string' == typeof value && '264' == value.substring(0,2))
1214 1214 {
1215 1215 value = value.substring(2);
1216 1216 }
1217 - if ('string' == typeof value && '+27' == value.substring(0,3))
1217 + if ('string' == typeof value && '+264' == value.substring(0,3))
1218 1218 {
1219 1219 value = value.substring(3);
1220 1220 }
  @@ -1285,11 +1285,11 @@
1285 1285 {
1286 1286 value = value.substring(1);
1287 1287 }
1288 - if (value && '+27' == value.substring(0,3))
1288 + if (value && '+264' == value.substring(0,3))
1289 1289 {
1290 1290 value = value.substring(3);
1291 1291 }
1292 - return '+27' + value;
1292 + return '+264' + value;
1293 1293 break;
1294 1294 case 'htmltext':
1295 1295 return $('#' + meta.id).html();