Changeset 1241 in t29-www for shared/js-v6/modules/admin-buttons.js
- Timestamp:
- Jun 26, 2017, 6:53:05 AM (7 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
shared/js-v6/modules/admin-buttons.js
r938 r1241 34 34 // poor mans check if the admin buttons should load 35 35 // (should be coupled to t29Host) 36 36 37 37 if(!location.hostname.match(/^design|localhost|heribert/i)) 38 38 return; 39 40 // Disable for the moment, no more needed 41 return; 39 42 40 43 t29.admin.section = $("<section id='admin-buttons'></section>").appendTo('body'); 41 44 45 // Disabble this one, currently no more needed 46 /* 42 47 t29.admin.b1 = new t29.admin.bodyclass_button('bg-test1-design', 43 48 'Neuer Hintergrund März 2016', function(button){ … … 45 50 t29.log.info('Neues Design ist <b>'+(button.isActive()?"eingeschaltet":"ausgeschaltet")+'</b> für alle weiteren Seitenbesuche auf <a href="'+location.hostname+'">'+location.hostname+'</a>.'); 46 51 }); 52 */ 47 53 };
Note: See TracChangeset
for help on using the changeset viewer.