Opened 14 years ago

Closed 14 years ago

#152 closed defect (invalid)

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 (1)

comment:1 Changed 14 years ago by niko

  • Resolution set to invalid
  • Status changed from new to closed

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.