Save and Continue Button

ISPTraderChris - October 15, 2009 - 13:15
Project:CSS Injector
Version:6.x-1.3
Component:User interface
Category:feature request
Priority:normal
Assigned:ISPTraderChris
Status:needs review
Description

I realize this is a minor feature request, but it would sure be nice if a 'Save and Continue' button were added to the CSS Edit page for those of us not using an external CSS editor and want to save our work / review renderings of our changes in a second window without having to go back to the CSS Injector Main page and re-opening our CSS Rule.

#1

timb - October 30, 2009 - 19:39

I just came here to make the same feature request. Preety minor, but saving a few clicks can be priceless.

#2

BeatnikDude - November 4, 2009 - 02:21

Bump

#3

ISPTraderChris - November 18, 2009 - 18:23

I've attached a patch that adds this functionality. For those not comfortable with patching, I've also included the complete css_injector.admin.inc file (zipped) -- this was the only file updated. I have not extensively tested this yet, but it is a simple bit of code and seems to be working on my end.

AttachmentSize
css_injector-save_and_continue.patch 1.17 KB
css_injector.admin_.zip 2.42 KB

#4

ISPTraderChris - November 18, 2009 - 18:24
Assigned to:Anonymous» ISPTraderChris
Status:active» needs review

#5

timb - November 18, 2009 - 21:04

I just gave the patch a try and it works like a charm. I have already saved myself 20 clicks in the past two minutes. Now if I could just find out where that 1px of padding in my deesign is coming from.

#6

BeatnikDude - November 20, 2009 - 19:50

Patch works for me and have used it on multiple sites already.
Thanks,

#7

timb - November 20, 2009 - 20:40

This patch is working great and saving me time. I just thought of two improvements and wanted to jot them down.

1) Put a copy of the 'Save and Continue' button immediately below the 'CSS Code' text area.
2) Have 'Save and Continue' button submit via javascript, so that your scroll position and any text area resizing is saved.

#8

timb - November 20, 2009 - 23:40

duped - sorry

 
 

Drupal is a registered trademark of Dries Buytaert.