Ticket #152 (closed defect: invalid)

Opened 8 years ago

Last modified 8 years ago

this.lcBackend was deleted

Reported by: gocher / udo.schmal@… Owned by: gogo
Priority: normal Milestone:
Component: Plugin_Fullscreen Version:
Severity: normal Keywords: language
Cc:

Description

the following line was deleted

this.lcBackend = "lcbackend.php?lang=$lang&context=$context";

why not this too

  if(typeof _editor_lcbackend == "string")
  {
    //use backend
    var url = _editor_lcbackend;
    url = url.replace(/%lang%/, _editor_lang);
    url = url.replace(/%context%/, context);
  }
  else
  {
  ..//don't delete this lines
  }

Change History

Changed 8 years ago by niko

  • status changed from new to closed
  • resolution set to invalid

you can set a custom 1i8n-backend using the _editor_lcbackend variable.

config.lcBackend won't be used - so i deleted it, _edit_lcbackend is correct

Note: See TracTickets for help on using tickets.