Thanks for this simple, but ingenious module!
It aids the site development a lot!

I was wondering, could there be implemented a backlink to the original, so that when you save the block, you are returned to the page where you clicked the 'edit'-button instead of to blocks overview page?

Comments

tony_guzman’s picture

I'll just chime in to vote for this feature as well.

Thanks for the great module
Tony

irakli’s picture

Assigned: Unassigned » irakli
Status: Active » Needs review
dharmatech’s picture

StatusFileSize
new532 bytes
new1008 bytes

There might be a better way to do this with behaviours, but here's a patch against 6.x-1.2 that adds the "link back" functionality. After applying the patch, clear your drupal cache to reload the module and clear the browser cache so it reloads the js.

This works by adding ?destination= to the end of the URL. drupal_get_destination() is called in the module and passed as a variable that jquery can read.

Firetracker’s picture

Hi hamaldus,

Great module. Will this feature get rolled into the next release?

Cheers
Zap

psynaptic’s picture

I can confirm this works.

Might be better to put the destination var in Drupal.settings.destination or something.

irakli’s picture

psynaptic,

since you have CVS access, now, can you please apply patches, test and make a release?

thx.

psynaptic’s picture

Status: Needs review » Fixed

This has been committed to DRUPAL-6--1: http://drupal.org/cvs?commit=216846

Thanks for the patch dharmatech!

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.