Ticket #476: Ticket476.patch
| File Ticket476.patch, 0.9 kB (added by SaqImtiaz, 6 months ago) |
|---|
patch updated to provide optional label for server types |
-
FileAdaptor.js
old new 11 11 12 12 FileAdaptor.serverType = 'file'; 13 13 14 FileAdaptor.serverLabel = 'TiddlyWiki file'; 15 14 16 FileAdaptor.prototype.setContext = function(context,userParams,callback) 15 17 { 16 18 if(!context) context = {}; -
Import.js
old new 26 26 wizard.addStep(this.step1Title,this.step1Html); 27 27 var s = wizard.getElement("selTypes"); 28 28 for(var t in config.adaptors) { 29 var e = createTiddlyElement(s,"option",null,null, t);29 var e = createTiddlyElement(s,"option",null,null,config.adaptors[t].serverLabel ? config.adaptors[t].serverLabel : t); 30 30 e.value = t; 31 31 } 32 32 s = wizard.getElement("selFeeds");