• Resolved Trebly

    (@trebly)


    Hi,

    This is common. The document.title is set, as most of time, the “site title”, so if you edit several definitions of forms at same time you never know which is behind one tab of your browser if you do not open it.

    document.title is something useful.

    For me after several errors and time lost I have patched the plugin as this (as for others) :

    in “script_rm_admin.js” at the end of document.ready I have added this code (this is not the more simple but the easiest) :

    // todo ###b81116 - Done : Change document.title for edit
         rm_grid_title = jQuery('.rm-grid-title');
         if (rm_grid_title.length) {
             subtitle = rm_grid_title[0].innerText;
         }
         else subtitle = "";
         document.title = 'MagicForm - edit : ' + subtitle + document.title;
     });

    Best regards

    Trebly

    • This topic was modified 6 years, 4 months ago by Trebly.
Viewing 2 replies - 1 through 2 (of 2 total)
  • Thread Starter Trebly

    (@trebly)

    Hi,

    This is a little complement :

    On the list of fields :
    https://...?page=rm_field_manage&rm_form_id=.

    There is no identification of the name of the current form.

    In this case because I use what I can, I cannot display into the document.title the name of the form.
    As I was searching for, I discover that it was not existing at all. No it exist only in options which allows to load any other list and the number is at the end of the query of page.
    Get this title to add it to the rmtitle (which content is “list of items”) can be done but become a little more complicated but if I patch this it will disappear after an upgrade…
    More easy for the authors.

    Best regards

    Trebly

    Plugin Contributor registrationmagic

    (@registrationmagic)

    Hello Trebly (@trebly),

    We can see how annoying this must be! Thanks for posting workaround. We have included it in our roadmap and will release a fix very soon. I will update you on this post once it is out.

    Cheers!

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘document.title in admin mode do not allow to edit several forms at same time’ is closed to new replies.